Migrate to new project structure.

This commit is contained in:
Alexander Koshkin
2019-01-09 21:38:56 +03:00
parent 880ae748d1
commit ce6ddb27a9
69 changed files with 132 additions and 100 deletions

View File

@ -1,10 +1,12 @@
import pytest
from peer.peerstore import PeerStoreError
from peer.peerstore import PeerStore
from libp2p.peer.peerstore import PeerStoreError
from libp2p.peer.peerstore import PeerStore
# Testing methods from IPeerMetadata base class.
def test_get_empty():
with pytest.raises(PeerStoreError):
store = PeerStore()