Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting
  • Loading branch information
acoburn committed Mar 2, 2022
commit 8c57856be53eff5b811a293e879b2f32121becc8
4 changes: 2 additions & 2 deletions tests/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_notification_turtle(self, mock_get):
prefLabel = "http://www.w3.org/2004/02/skos/core#prefLabel"
self.assertTrue(prefLabel in notification[0])
self.assertEqual("First notification",
notification[0][prefLabel][0]["@value"])
notification[0][prefLabel][0]["@value"])

@patch('requests.get')
def test_notification_jsonld(self, mock_get):
Expand All @@ -114,4 +114,4 @@ def test_notification_jsonld(self, mock_get):
self.assertEqual("http://example.org/inbox/1", notification[0]["@id"])
self.assertTrue("creator" in notification[0])
self.assertEqual("http://example.org/user",
notification[0]["creator"])
notification[0]["creator"])