Skip to content

Commit

Permalink
[FIX] mgmtsystem_nonconformity: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgarRetes committed Sep 24, 2024
1 parent 7c9cc47 commit fe806fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mgmtsystem_nonconformity/tests/test_origin.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ def test_create_origin(self):
self.assertNotEqual(self.record.id, None)

def test_display_name(self):
name_assoc = self.record.display_name()
name_assoc = self.record.display_name
self.assertEqual(name_assoc[0][1], "TestOrigin")
self.assertEqual(name_assoc[0][0], self.record.id)

name_assoc = self.record2.display_name()
name_assoc = self.record2.display_name
self.assertEqual(name_assoc[0][1], "TestOrigin / test2")
self.assertEqual(name_assoc[0][0], self.record2.id)

name_assoc = self.record3.display_name()
name_assoc = self.record3.display_name
self.assertEqual(name_assoc[0][1], "TestOrigin / test2 / test3")
self.assertEqual(name_assoc[0][0], self.record3.id)

0 comments on commit fe806fb

Please sign in to comment.