Skip to content

Commit

Permalink
Test parsed git remote
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljoseph committed Dec 8, 2014
1 parent 41e7388 commit 779906f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ def test_malformed_config_returns_none():
with click.open_file('test_app/.changes', 'w') as f:
f.write('something\n\n-another thing\n')
assert config.project_config(context) == {}


def test_parsed_repo_url():
assert context.owner == 'michaeljoseph'
assert context.github
assert not context.bitbucket

0 comments on commit 779906f

Please sign in to comment.