File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33from tests .integration_test import InstanceMixin , IntegrationTest
44
55
6- class ResponseTemplateApiTest (InstanceMixin , IntegrationTest ):
6+ class RelationApiTest (InstanceMixin , IntegrationTest ):
77
88 @classmethod
99 def setUpClass (cls ):
10- super (ResponseTemplateApiTest , cls ).setUpClass ()
10+ super (RelationApiTest , cls ).setUpClass ()
1111
1212 # prapare data
1313 cls .author = Class .please .create (name = "author" , schema = [
@@ -92,7 +92,7 @@ def test_related_field_lookup_is(self):
9292 self .assertEqual (book .title , self .niezwyciezony .title )
9393
9494 def test_multiple_lookups (self ):
95- filtered_books = self .books .objects .list ().filter (authors__id__in = [self .prus .id ], title__eq = 'Lalka' )
95+ filtered_books = self .book .objects .list ().filter (authors__id__in = [self .prus .id ], title__eq = 'Lalka' )
9696
9797 self .assertEqual (len (list (filtered_books )), 1 )
9898 for book in filtered_books :
You can’t perform that action at this time.
0 commit comments