@@ -132,12 +132,6 @@ def test_query_users_young_hobbits(self, client, fellowship_of_the_ring):
132132 assert len (response ["users" ]) == 4
133133 assert [50 , 38 , 36 , 28 ] == [u ["age" ] for u in response ["users" ]]
134134
135- def test_query_channels_members_in (self , client , fellowship_of_the_ring ):
136- response = client .query_channels ({"members" : {"$in" : ["gimli" ]}}, {"id" : 1 })
137- assert len (response ["channels" ]) == 1
138- assert response ["channels" ][0 ]["channel" ]["id" ] == "fellowship-of-the-ring"
139- assert len (response ["channels" ][0 ]["members" ]) == 9
140-
141135 def test_devices (self , client , random_user ):
142136 response = client .get_devices (random_user ["id" ])
143137 assert "devices" in response
@@ -170,3 +164,10 @@ def test_search(self, client, channel, random_user):
170164 ** {"limit" : 12 , "offset" : 0 })
171165 for message in response ['results' ]:
172166 assert query not in message ['message' ]['text' ]
167+
168+ def test_query_channels_members_in (self , client , fellowship_of_the_ring ):
169+ response = client .query_channels ({"members" : {"$in" : ["gimli" ]}}, {"id" : 1 })
170+ assert len (response ["channels" ]) == 1
171+ assert response ["channels" ][0 ]["channel" ]["id" ] == "fellowship-of-the-ring"
172+ assert len (response ["channels" ][0 ]["members" ]) == 9
173+
0 commit comments