Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
tinman
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
tinman
Commits
9c52d264
Commit
9c52d264
authored
6 years ago
by
Anthony Martin
Browse files
Options
Downloads
Patches
Plain Diff
fixes #151
parent
1ba03783
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/snapshot_test.py
+12
-0
12 additions, 0 deletions
test/snapshot_test.py
tinman/snapshot.py
+1
-0
1 addition, 0 deletions
tinman/snapshot.py
with
13 additions
and
0 deletions
test/snapshot_test.py
0 → 100644
+
12
−
0
View file @
9c52d264
import
unittest
import
json
import
shutil
from
tinman
import
snapshot
from
simple_steem_client.client
import
SteemRemoteBackend
,
SteemInterface
,
SteemRPCException
class
SnapshotTest
(
unittest
.
TestCase
):
def
test_list_all_accounts
(
self
):
backend
=
SteemRemoteBackend
(
nodes
=
[
"
http://test.com
"
],
appbase
=
True
)
steemd
=
SteemInterface
(
backend
)
self
.
assertIsNotNone
(
snapshot
.
list_all_accounts
(
steemd
))
This diff is collapsed.
Click to expand it.
tinman/snapshot.py
+
1
−
0
View file @
9c52d264
...
...
@@ -13,6 +13,7 @@ from simple_steem_client.client import SteemRemoteBackend, SteemInterface, Steem
from
.
import
__version__
DATABASE_API_SINGLE_QUERY_LIMIT
=
1000
MAX_RETRY
=
30
# Whitelist of exceptions from transaction source (Mainnet).
TRANSACTION_SOURCE_RETRYABLE_ERRORS
=
[
...
...
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