Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port main.py to new client, fix tests. #59

Merged
merged 15 commits into from
Dec 21, 2016

Conversation

Fak3
Copy link
Contributor

@Fak3 Fak3 commented Dec 20, 2016

FIxes #55

@coveralls
Copy link

coveralls commented Dec 20, 2016

Coverage Status

Coverage decreased (-16.9%) to 69.293% when pulling a979912 on Fak3:f55_cli into 6b5dc87 on frictionlessdata:master.

@coveralls
Copy link

coveralls commented Dec 20, 2016

Coverage Status

Coverage decreased (-16.9%) to 69.293% when pulling a979912 on Fak3:f55_cli into 6b5dc87 on frictionlessdata:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+11.4%) to 97.561% when pulling 560c57b on Fak3:f55_cli into 6b5dc87 on frictionlessdata:master.

3 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+11.4%) to 97.561% when pulling 560c57b on Fak3:f55_cli into 6b5dc87 on frictionlessdata:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+11.4%) to 97.561% when pulling 560c57b on Fak3:f55_cli into 6b5dc87 on frictionlessdata:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+11.4%) to 97.561% when pulling 560c57b on Fak3:f55_cli into 6b5dc87 on frictionlessdata:master.

@@ -23,7 +23,7 @@ def test_validate_empty_dir(self):
# WHEN `dpm validate` is invoked
result = self.invoke(cli, ['validate'])

# THEN exit code should be 1
# THEN 'datapackage.json not found' should be printed to stdout
self.assertRegexpMatches(result.output, 'Did not find datapackage.json')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the comment should be # THEN 'Did not find datapackage.json' ... probably

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Fixed

@coveralls
Copy link

coveralls commented Dec 20, 2016

Coverage Status

Coverage increased (+11.4%) to 97.561% when pulling a8dbd91 on Fak3:f55_cli into 6b5dc87 on frictionlessdata:master.

result = self.invoke(cli, ['publish'])

# THEN 'server did not return resource put url' should be printed to stdout
self.assertRegexpMatches(result.output, 'server did not provide upload authorization for path:')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor but again, comment and actual output mismatch

@zelima
Copy link
Contributor

zelima commented Dec 21, 2016

Look good to me. merging

@zelima zelima merged commit 3b2c046 into openknowledge-archive:master Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants