Skip to content

Commit

Permalink
Restore test for empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
kylase committed Sep 16, 2018
1 parent b446a47 commit 51e8957
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ def test_parse(client):

assert client.post('/parscit/parse', json=data).status_code == 200

# @pytest.mark.skipif(os.getenv("CI") == 'true', reason="Not running in CI")
# def test_parse_no_content(client):
# data = {
# 'string': ""
# }
#
# assert client.post('/parscit/parse', json=data).status_code == 400
@pytest.mark.skipif(os.getenv("CI") == 'true', reason="Not running in CI")
def test_parse_no_content(client):
data = {
'string': ""
}

assert client.post('/parscit/parse', json=data).status_code == 400

@pytest.mark.skipif(os.getenv("CI") == 'true', reason="Not running in CI")
def test_parse_batch(client):
Expand Down

0 comments on commit 51e8957

Please sign in to comment.