Skip to content

Commit

Permalink
Delete duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
index-git committed Jan 6, 2023
1 parent a2b43fb commit ff83c34
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/layman/layer/rest_workspace_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,16 +166,6 @@ def test_wrong_value_of_layername(client):
assert resp_json['detail']['parameter'] == 'layername'


@pytest.mark.usefixtures('app_context', 'ensure_layman')
def test_no_file(client):
response = client.post(url_for('rest_workspace_layers.post', workspace='testuser1'))
assert response.status_code == 400
resp_json = response.get_json()
# print('resp_json', resp_json)
assert resp_json['code'] == 1
assert resp_json['detail']['parameter'] == 'file'


@pytest.mark.usefixtures('app_context', 'ensure_layman')
def test_workspace_schema_conflict(client):
if len(settings.PG_NON_USER_SCHEMAS) == 0:
Expand Down

0 comments on commit ff83c34

Please sign in to comment.