Пример #1
0
 def test_empty_identifiers_are_invalid(self):
     assert not helpers.validate_identifier('')
Пример #2
0
 def test_identifiers_with_only_zeros_are_invalid(self, identifier):
     assert not helpers.validate_identifier(identifier)
Пример #3
0
 def test_valid_identifiers(self, identifier):
     assert helpers.validate_identifier(identifier)
Пример #4
0
 def test_empty_identifiers_are_invalid(self):
     assert not helpers.validate_identifier("")
Пример #5
0
 def test_identifiers_with_only_zeros_are_invalid(self, identifier):
     assert not helpers.validate_identifier(identifier)
Пример #6
0
 def test_valid_identifiers(self, identifier):
     assert helpers.validate_identifier(identifier)