Skip to content
GitLab
Explore
Sign in
Register
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
4ea2e8c4
Commit
4ea2e8c4
authored
7 years ago
by
Holger Nahrstaedt
Browse files
Options
Downloads
Patches
Plain Diff
fix wallet unit test
Limit coverage to python 3.6
parent
8804bf34
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
.circleci/config.yml
+1
-1
1 addition, 1 deletion
.circleci/config.yml
beem/wallet.py
+1
-1
1 addition, 1 deletion
beem/wallet.py
tox.ini
+10
-1
10 additions, 1 deletion
tox.ini
with
12 additions
and
3 deletions
.circleci/config.yml
+
1
−
1
View file @
4ea2e8c4
...
...
@@ -47,7 +47,7 @@ jobs:
name
:
run tests
command
:
|
./cc-test-reporter before-build
tox -e py36
,pylint
tox -e py36
./cc-test-reporter after-build --exit-code $?
-
deploy
:
...
...
This diff is collapsed.
Click to expand it.
beem/wallet.py
+
1
−
1
View file @
4ea2e8c4
...
...
@@ -262,7 +262,7 @@ class Wallet(object):
# Try to decode as wif
PrivateKey
(
encwif
,
prefix
=
self
.
prefix
)
return
encwif
except
ValueError
:
except
(
ValueError
,
AssertionError
)
:
pass
if
self
.
locked
():
raise
AssertionError
()
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
10
−
1
View file @
4ea2e8c4
[tox]
envlist
=
py{27,34,35,36,37}
,lint,pyflakes
envlist
=
py{27,34,35,36,37}
skip_missing_interpreters
=
true
[testenv]
deps
=
mock>=2.0.0
pytest
pytest-mock
parameterized
commands
=
pytest
[testenv:py36]
deps
=
mock>=2.0.0
pytest
...
...
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