From 15be534e7cc80f6056c0e421ccb51ab3487b5a5a Mon Sep 17 00:00:00 2001 From: "Graham R. Cobb" Date: Fri, 5 Mar 2021 16:17:14 +0000 Subject: [PATCH] Test ?expand using documented syntax Documentation says that ?expand does not need a value (i.e. ?expand=1 is wrong), so the test is changed to reflect that syntax. Signed-off-by: Graham R. Cobb --- test/test_web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_web.py b/test/test_web.py index 6cf0d2dbb..34a22f8d1 100644 --- a/test/test_web.py +++ b/test/test_web.py @@ -156,7 +156,7 @@ class WebPluginTest(_common.LibTestCase): self.assertEqual(res_json['results'][0]['id'], 2) def test_get_album_details(self): - response = self.client.get('/album/2?expand=1') + response = self.client.get('/album/2?expand') res_json = json.loads(response.data.decode('utf-8')) self.assertEqual(response.status_code, 200)