Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dougppaz committed Nov 29, 2018
1 parent a5c5fd4 commit a1e3783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bothub/common/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ def test_example_entity_create_entity(self):
value='name')
self.assertEqual(
name_entity.pk,
self.example_entity_1.pk)
self.example_entity_1.entity.pk)

def test_dont_duplicate_entity(self):
name_entity = RepositoryEntity.objects.get(
Expand All @@ -986,7 +986,7 @@ def test_dont_duplicate_entity(self):

self.assertEqual(
name_entity.pk,
self.example_entity_1.pk)
self.example_entity_1.entity.pk)
self.assertEqual(
name_entity.pk,
new_example_entity.entity.pk)
Expand Down

0 comments on commit a1e3783

Please sign in to comment.