Skip to content

Commit

Permalink
unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kbecker42 committed Jun 18, 2024
1 parent 7e53960 commit b047a86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test_api/test_project_locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def test_project_locks_user_subadmin(self):
res = self.app.get('/api/locks?id=' + project_id + '&api_key=' + subadmin.api_key + '&all=1')
data = json.loads(res.data)
assert res.status_code == 200, data
assert data[0]['product'] == 'test_product', data
assert data[0]['short_name'] == 'test-app1', data

@with_context
Expand All @@ -112,7 +111,6 @@ def test_project_locks_user_admin(self):
res = self.app.get('/api/locks?id=' + project_id + '&api_key=' + admin.api_key + '&all=1')
data = json.loads(res.data)
assert res.status_code == 200, data
assert data[0]['product'] == 'test_product', data
assert data[0]['short_name'] == 'test-app1', data

@with_context
Expand Down

0 comments on commit b047a86

Please sign in to comment.