Skip to content

Commit

Permalink
Fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
redaxmedia committed Nov 8, 2019
1 parent 80f6577 commit f58ca32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chroma_feedback/provider/codeship/normalize.py
Expand Up @@ -3,7 +3,7 @@ def normalize_data(build):
[
{
'provider': 'codeship',
'slug': build['project_id'],
'slug': str(build['project_id']),
'active': True,
'status': normalize_status(build['status'])
}
Expand Down
8 changes: 4 additions & 4 deletions tests/provider/travis/test_core.py
Expand Up @@ -13,10 +13,10 @@ def test_fetch_slug():
def test_fetch_user():
result = fetch('https://api.travis-ci.org', 'redaxmedia')

assert result[0]['provider'] == 'travis'
assert result[0]['slug']
assert result[0]['active'] is True
assert result[0]['status']
assert result[1]['provider'] == 'travis'
assert result[1]['slug']
assert result[1]['active'] is True
assert result[1]['status']


def test_fetch_invalid():
Expand Down

0 comments on commit f58ca32

Please sign in to comment.