Skip to content

Commit

Permalink
added a test for username normalisation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianneubauer committed Sep 19, 2017
1 parent 9d06e5f commit 452299c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
def test_get_normalized_username():
username_with_host = 'testuser1234@testcluster1'
stripped_username = pgcd.get_normalized_username(username_with_host)
assert stripped_username == "testuser1234"
username_without_host = 'testuser1234'
stripped_username = pgcd.get_normalized_username(username_with_host)
assert stripped_username == "testuser1234"

0 comments on commit 452299c

Please sign in to comment.