diff options
author | Enzo Zuccolotto <enzozuccolotto@gmail.com> | 2015-04-10 09:53:33 -0300 |
---|---|---|
committer | Enzo Zuccolotto <enzozuccolotto@gmail.com> | 2015-04-10 09:53:33 -0300 |
commit | 4e155a14786b72d77531024dd883b4635c690bec (patch) | |
tree | 68450963d2f588e57087c4d31aed12b3595d02f3 /service/test/unit/config | |
parent | 364902bc3f3b33c2b36bb0c2644e931aeeaeb381 (diff) |
Allows dot on username.
-- Issue #147
@anikarni and @enzoz pairing
Diffstat (limited to 'service/test/unit/config')
-rw-r--r-- | service/test/unit/config/test_register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/config/test_register.py b/service/test/unit/config/test_register.py index 7c09fb2c..7db2b000 100644 --- a/service/test/unit/config/test_register.py +++ b/service/test/unit/config/test_register.py @@ -15,6 +15,6 @@ class TestRegister(unittest.TestCase): def test_username_pass_when_valid(self): try: - validate_username('valid_username-123') + validate_username('a.valid_username-123') except: self.fail('Valid username should not raise an exception') |