mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
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 <g+beets@cobb.uk.net>
This commit is contained in:
parent
79b41f6f38
commit
15be534e7c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue