Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
beem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
beem
Commits
8898a784
Commit
8898a784
authored
8 years ago
by
Fabian Schuh
Browse files
Options
Downloads
Patches
Plain Diff
[tests] fix tox testing and dependencies
parent
e77cecd7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bitsharesapi/exceptions.py
+4
-0
4 additions, 0 deletions
bitsharesapi/exceptions.py
bitsharesapi/websocket.py
+1
-6
1 addition, 6 deletions
bitsharesapi/websocket.py
tests/test_memo.py
+2
-2
2 additions, 2 deletions
tests/test_memo.py
with
7 additions
and
8 deletions
bitsharesapi/exceptions.py
+
4
−
0
View file @
8898a784
...
...
@@ -30,3 +30,7 @@ class NoMethodWithName(RPCError):
class
UnhandledRPCError
(
RPCError
):
pass
class
NumRetriesReached
(
Exception
):
pass
This diff is collapsed.
Click to expand it.
bitsharesapi/websocket.py
+
1
−
6
View file @
8898a784
...
...
@@ -5,7 +5,7 @@ import json
import
logging
from
itertools
import
cycle
from
threading
import
Thread
from
.exceptions
import
NumRetriesReached
from
events
import
Events
import
websocket
...
...
@@ -13,11 +13,6 @@ log = logging.getLogger(__name__)
logging
.
basicConfig
(
level
=
logging
.
DEBUG
)
class
NumRetriesReached
(
Exception
):
pass
class
BitSharesWebsocket
(
Events
):
__events__
=
[
'
on_tx
'
,
...
...
This diff is collapsed.
Click to expand it.
tests/test_memo.py
+
2
−
2
View file @
8898a784
import
unittest
import
os
from
pprint
import
pprint
from
graphene
base.account
import
BrainKey
,
Address
,
PublicKey
,
PrivateKey
from
graphene
base.memo
import
(
from
bitshares
base.account
import
BrainKey
,
Address
,
PublicKey
,
PrivateKey
from
bitshares
base.memo
import
(
get_shared_secret
,
_pad
,
_unpad
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment