コード例 #1
0
ファイル: test_helpers.py プロジェクト: unuseless/processors
 def test_ignores_case(self):
     identifiers = {'nct': 'nCt12345678'}
     assert helpers.clean_identifiers(identifiers) == identifiers
コード例 #2
0
ファイル: test_helpers.py プロジェクト: unuseless/processors
 def test_bad_identifiers(self, identifiers):
     assert helpers.clean_identifiers(identifiers) == {}
コード例 #3
0
ファイル: test_helpers.py プロジェクト: unuseless/processors
 def test_good_identifiers(self, identifiers):
     assert helpers.clean_identifiers(identifiers) == identifiers
コード例 #4
0
ファイル: test_helpers.py プロジェクト: opentrials/processors
 def test_good_identifiers(self, identifiers):
     assert helpers.clean_identifiers(identifiers) == identifiers
コード例 #5
0
ファイル: test_helpers.py プロジェクト: opentrials/processors
 def test_ignores_case(self):
     identifiers = {"nct": "nCt12345678"}
     assert helpers.clean_identifiers(identifiers) == identifiers
コード例 #6
0
ファイル: test_helpers.py プロジェクト: opentrials/processors
 def test_bad_identifiers(self, identifiers):
     assert helpers.clean_identifiers(identifiers) == {}