Skip to content

Commit

Permalink
unskip test_common_libraries for 3.7 (#1058)
Browse files Browse the repository at this point in the history
* unskip test_common_libraries for 3.7

* move statuscode check up

Co-authored-by: peterstone2017 <[email protected]>
  • Loading branch information
YunchuWang and peterstone2017 authored Jun 14, 2022
1 parent 43517a2 commit bcda54d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/endtoend/test_linux_consumption.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ def test_http_no_auth(self):
resp = ctrl.send_request(req)
self.assertEqual(resp.status_code, 200)

@skipIf(is_python_version('3.7'),
"Skip the tests for Python 3.7.")
def test_common_libraries(self):
"""A function app with the following requirements.txt:
Expand All @@ -87,14 +85,14 @@ def test_common_libraries(self):
})
req = Request('GET', f'{ctrl.url}/api/HttpTrigger')
resp = ctrl.send_request(req)
self.assertEqual(resp.status_code, 200)
content = resp.json()
self.assertIn('azure.functions', content)
self.assertIn('azure.storage.blob', content)
self.assertIn('numpy', content)
self.assertIn('cryptography', content)
self.assertIn('pyodbc', content)
self.assertIn('requests', content)
self.assertEqual(resp.status_code, 200)

def test_new_protobuf(self):
"""A function app with the following requirements.txt:
Expand Down

0 comments on commit bcda54d

Please sign in to comment.