Skip to content

Add bitswap commands #55

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

Merged
merged 3 commits into from
Aug 18, 2016
Merged

Add bitswap commands #55

merged 3 commits into from
Aug 18, 2016

Conversation

fredthomsen
Copy link
Contributor

Adding bitswap command as suggested by #42.

Closing #47.

Conflicts:
	ipfsApi/client.py
@whereswaldon
Copy link
Contributor

The code looks good, thanks. Could you write a quick test for each of the bitswap functions? If you follow the general model of the tests in 'test/functional/tests.py', it should be pretty easy.

@fredthomsen
Copy link
Contributor Author

In-progress. Should have mentioned that above.

@fredthomsen
Copy link
Contributor Author

Added the tests. Passing on my box but Travis seems to be taking a bit.

@whereswaldon
Copy link
Contributor

The entire IPFS organization on Github shares one Travis instance. We
queue up behind whatever builds are going on for each of the other
projects that IPFS hosts. It's unfortunate, and they're working to fix
it, but for now we have to wait... sigh.

On 08/16/2016 09:05 PM, Fred Thomsen wrote:

Added the tests. Passing on my box but Travis seems to be taking a bit.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#55 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvYzdjNdVFxajZmcU5FFU4EiaU7VmMkks5qgl5CgaJpZM4JkFu7.

@fredthomsen
Copy link
Contributor Author

Guess waiting until morning is key. Life is good.

@@ -492,5 +492,28 @@ def test_object_patch_set_data(self):
self.assertEqual(result,
{'Hash': 'QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G'})


Copy link
Contributor

Choose a reason for hiding this comment

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

@Alexander255 just updated our testing framework to skip the functional tests if an IPFS daemon isn't running. It's a one-line change to make your tests have this feature. Take a look at this class decorator. If you could just throw that on this test class, I'm good to merge this.

@ntninja
Copy link
Contributor

ntninja commented Aug 17, 2016

👍 on this change once that decorator has been added.

@fredthomsen
Copy link
Contributor Author

Done.

@whereswaldon whereswaldon merged commit a4ccb67 into ipfs-shipyard:master Aug 18, 2016
@whereswaldon
Copy link
Contributor

@fredthomsen Thanks a ton for putting this together! Sorry that we kept adding todos as you went.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants