Commit Graph

56 Commits

Author SHA1 Message Date
88a3311919
chore: Remove Travis CI config
Travis is now a paying service, so there’s no way this will ever work again.
2023-10-31 15:36:31 +01:00
Ryan Flynn
975467030a Event.wait() is async, and must be awaited 2019-06-14 22:06:42 +02:00
Pedro Ferreira
77d1477106 Use a blob I can retrieve.
If you add me on SSB, you should be able to get it too :p
2019-06-14 22:05:51 +02:00
Cheng Guo
166914144d Verify the hash of the fetched blob 2019-06-14 22:05:45 +02:00
Cheng Guo
b26b56632f Fixed a bug which causes problem when RPC body size is bigger than 4096
- Fetching blobs (size>4k) works now
  - Updated the image fetching code in examples/test_client.py
2019-06-14 21:46:43 +02:00
Pedro Ferreira
734fe59663 Improve OSX config 2019-06-14 21:44:48 +02:00
Cheng Guo
3ce46291b3 Bugfix for handling a RPC goodbye header 2019-06-14 21:38:54 +02:00
Ryan Flynn
5af5df69d0 Run TravisCI on OSX 2019-06-14 21:32:33 +02:00
Ryan Flynn
d9ef4735f7 python 3.7 and after does not work on trusty; try on osx instead, see if it works 2019-06-14 20:55:56 +02:00
Christian Bundy
5d137da5c3 Specify pynacl==1.1.2 2019-06-14 20:45:34 +02:00
Pedro Ferreira
28096f0f8a Use latest Python versions 2019-06-12 21:16:31 +02:00
Pedro Ferreira
8e4228ede1 Specify default Loader
Not specifyin one is now deprecated behaviour.
2019-06-12 21:09:48 +02:00
Pedro Ferreira
b4a3d0cda6 Update dependencies 2019-06-12 21:06:56 +02:00
Cléber Zavadniak
aab2ac18b3 fix test_server and reorganize requirements files 2018-04-28 17:02:18 +02:00
Pedro Ferreira
dc1389d634 Adapt code to match secret_handshake changes 2018-02-04 22:27:54 +01:00
Pedro Ferreira
d6a1ac792c Use proper timestamp instead of OS-dependent 2018-02-04 22:17:38 +01:00
Pedro Ferreira
797315e967 Add some additional coverage 2017-08-06 12:16:22 +02:00
Pedro Ferreira
73dccb8b15 Extract out stream() method 2017-08-05 20:02:02 +02:00
Pedro Ferreira
a5ce920440 Revert "Remove pytest-cov flag"
This reverts commit 297b1268b0.
2017-08-05 19:49:50 +02:00
Pedro Ferreira
778f74200a Tests for remote feeds 2017-08-05 19:32:01 +02:00
Pedro Ferreira
e2ec8313dc Refactor feed code 2017-08-05 18:21:14 +02:00
Pedro Ferreira
837fd5e38b Add __init__.py which is apparently needed
For coverage reports to work
2017-08-05 12:49:21 +02:00
Pedro Ferreira
297b1268b0 Remove pytest-cov flag 2017-08-05 12:47:33 +02:00
Pedro Ferreira
ee68cd125b Add load_ssb_secret() to utils 2017-08-05 12:40:44 +02:00
Pedro Ferreira
fcb5981611 Add README badges, bump version 2017-08-01 22:45:54 +02:00
Pedro Ferreira
9fc910c37d Python 3.5 compatibility
Close #1 and #3
2017-08-01 22:37:14 +02:00
Pedro Ferreira
ad8d1b89ae Missing dependency: pytest-mock 2017-08-01 22:33:03 +02:00
Pedro Ferreira
8427c188ee Several fixes in packet_stream tests
Problem with JSON comparison (order) + awaiting connect()
2017-08-01 22:32:23 +02:00
Pedro Ferreira
36d8a13ff3 Add simplejson to dependencies 2017-08-01 21:39:45 +02:00
Pedro Ferreira
aa5b7b7070 Set version 0.1.0.dev1 2017-08-01 21:34:20 +02:00
Pedro Ferreira
33067864dc Add dependency on secret-handshake 2017-08-01 21:34:20 +02:00
Pedro Ferreira
6e9dfe5842 Hide .coverage 2017-08-01 20:09:10 +02:00
Pedro Ferreira
7651dc535c Add .travis.yml 2017-08-01 19:40:53 +02:00
Pedro Ferreira
ad604315ad Add pytest.ini (coverage etc...) 2017-08-01 19:39:15 +02:00
Pedro Ferreira
fc67995e6b Move test_*.py to examples dir 2017-08-01 19:38:53 +02:00
Pedro Ferreira
38ab943fc7 Improve test_client.py 2017-08-01 19:38:04 +02:00
Pedro Ferreira
5c7888e006 Use async connect(...) 2017-08-01 19:32:36 +02:00
Pedro Ferreira
679cfb3fa1 Add test for on_connect 2017-07-31 23:53:08 +02:00
Pedro Ferreira
00fc46890e Add logging to test_server, fix it 2017-07-31 23:17:59 +02:00
Pedro Ferreira
14291ed863 Add some additional packet_stream tests 2017-07-31 23:17:32 +02:00
Pedro Ferreira
3a0ad1b3ff Fix test_feed 2017-07-31 23:16:20 +02:00
Pedro Ferreira
f2f4a829d2 Allow low level transport class to be overridden 2017-07-31 23:15:52 +02:00
Pedro Ferreira
7b2ca4b606 Update .gitignore 2017-07-30 22:43:49 +02:00
Pedro Ferreira
f25a9868a2 Add setup.py 2017-07-30 22:41:41 +02:00
Pedro Ferreira
e6b91af497 Added first packet_stream tests 2017-07-30 22:31:17 +02:00
Pedro Ferreira
69394936ee Make read(...) clearer and easier to manage 2017-07-30 22:28:42 +02:00
Pedro Ferreira
3d652d11cd Properly handle MuxRPC errors 2017-07-30 15:02:09 +02:00
Pedro Ferreira
dda0b488c6 Handle split packets properly 2017-07-30 11:51:11 +02:00
Pedro Ferreira
ae5b99acfa Rename module 2017-07-30 11:50:25 +02:00
Pedro Ferreira
02f50239fc Apparently working sink handler 2017-07-30 10:52:04 +02:00