mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 23:38:17 +00:00
Some PEP8 style fixes.
This commit is contained in:
@ -34,7 +34,7 @@ class TestVersionHandler(AsyncHTTPTestCase):
|
||||
|
||||
self.http_client.fetch(self.get_url(self.URL), self.stop)
|
||||
response = self.wait()
|
||||
assert(response.headers['Content-Type'].startswith('application/json'))
|
||||
assert(response.body)
|
||||
assert response.headers['Content-Type'].startswith('application/json')
|
||||
assert response.body
|
||||
body = json_decode(response.body)
|
||||
assert body['version'] == __version__
|
||||
|
Reference in New Issue
Block a user