Skip to content

Commit

Permalink
na bitte, geht doch
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Jan 23, 2024
1 parent 4567899 commit aedc200
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apis_core/apis_entities/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,8 @@ def test_026_fetch_image(self):
entity = import_from_normdata(grillparzer, "person")
entity.fetch_image()
self.assertTrue(entity.img_url)
self.assertTrue("Wikimedia Commons", entity.img_credit)
self.assertTrue("Wikimedia Commons" in entity.img_credit())

def test_027_img_credit(self):
entity = import_from_normdata("https://www.wikidata.org/wiki/Q76483", "person")
self.assertTrue(entity.img_url)
self.assertIsNone(entity.img_credit)
self.assertIsNone(entity.img_credit())

0 comments on commit aedc200

Please sign in to comment.