Пример #1
0
    def test_good_names(self):
        data = [
            ('ana', True),
            ('rlr', True),
            ('anal', False),
        ]

        for name, expected in data:
            eq_(username_allowed(name), expected)
Пример #2
0
    def test_good_names(self):
        data = [
            ('ana', True),
            ('rlr', True),
            ('anal', False),
        ]

        for name, expected in data:
            eq_(username_allowed(name), expected)
Пример #3
0
    def test_good_names(self):
        data = [
            ("ana", True),
            ("rlr", True),
            ("anal", False),
        ]

        for name, expected in data:
            eq_(username_allowed(name), expected)
Пример #4
0
    def test_good_names(self):
        data = [("ana", True), ("rlr", True), ("anal", False)]

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