Skip to content

Commit

Permalink
Merge pull request #106 from nemesisdesign/issues/105
Browse files Browse the repository at this point in the history
Renamed duplicated TestStringReference classes #105
  • Loading branch information
gregmuellegger authored Aug 1, 2017
2 parents 0674f07 + 8eeac22 commit 8d61c3b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sortedm2m_tests/test_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ def get_ids(queryset):
return [obj.id for obj in queryset]
self.assertEqual(get_ids(shelf.books.all()), get_ids(books))

class TestStringReference(TestSortedManyToManyField):

class TestStringReference1(TestSortedManyToManyField):
'''
Test the same things as ``TestSortedManyToManyField`` but using a model
that using a string to reference the relation where the m2m field should
Expand All @@ -200,7 +201,7 @@ class TestStringReference(TestSortedManyToManyField):
model = Store


class TestStringReference(TestSortedManyToManyField):
class TestStringReference2(TestSortedManyToManyField):
'''
Test the same things as ``TestSortedManyToManyField`` but using a model
that using a string to reference the relation where the m2m field should
Expand Down

0 comments on commit 8d61c3b

Please sign in to comment.