Skip to content

Commit d4419c3

Browse files
committed
updated unint test for ogc api record class
1 parent ee51b57 commit d4419c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deep_code/tests/utils/test_ogc_api_record.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ def test_contact_initialization(self):
3838
def test_contact_default_values(self):
3939
contact = Contact(name="Jane Doe", organization="DeepESDL")
4040

41-
self.assertEqual(contact.position, "")
42-
self.assertEqual(contact.links, [])
43-
self.assertEqual(contact.contactInstructions, "")
44-
self.assertEqual(contact.roles, ["principal investigator"])
41+
self.assertEqual(contact.position, None)
42+
self.assertEqual(contact.links, None)
43+
self.assertEqual(contact.contactInstructions, None)
44+
self.assertEqual(contact.roles, None)
4545

4646

4747
class TestThemeConcept(unittest.TestCase):

0 commit comments

Comments
 (0)