コード例 #1
0
ファイル: test_helpers.py プロジェクト: unuseless/processors
 def test_empty_identifiers_are_invalid(self):
     assert not helpers.validate_identifier('')
コード例 #2
0
ファイル: test_helpers.py プロジェクト: unuseless/processors
 def test_identifiers_with_only_zeros_are_invalid(self, identifier):
     assert not helpers.validate_identifier(identifier)
コード例 #3
0
ファイル: test_helpers.py プロジェクト: unuseless/processors
 def test_valid_identifiers(self, identifier):
     assert helpers.validate_identifier(identifier)
コード例 #4
0
ファイル: test_helpers.py プロジェクト: opentrials/processors
 def test_empty_identifiers_are_invalid(self):
     assert not helpers.validate_identifier("")
コード例 #5
0
ファイル: test_helpers.py プロジェクト: opentrials/processors
 def test_identifiers_with_only_zeros_are_invalid(self, identifier):
     assert not helpers.validate_identifier(identifier)
コード例 #6
0
ファイル: test_helpers.py プロジェクト: opentrials/processors
 def test_valid_identifiers(self, identifier):
     assert helpers.validate_identifier(identifier)