Esempio n. 1
0
    def test_good_names(self):
        data = [
            ('ana', True),
            ('rlr', True),
            ('anal', False),
        ]

        for name, expected in data:
            eq_(username_allowed(name), expected)
Esempio n. 2
0
    def test_good_names(self):
        data = [
            ('ana', True),
            ('rlr', True),
            ('anal', False),
        ]

        for name, expected in data:
            eq_(username_allowed(name), expected)
Esempio n. 3
0
    def test_good_names(self):
        data = [
            ("ana", True),
            ("rlr", True),
            ("anal", False),
        ]

        for name, expected in data:
            eq_(username_allowed(name), expected)
Esempio n. 4
0
    def test_good_names(self):
        data = [("ana", True), ("rlr", True), ("anal", False)]

        for name, expected in data:
            eq_(username_allowed(name), expected)