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
a49af4fd
Commit
a49af4fd
authored
4 years ago
by
Holger
Browse files
Options
Downloads
Patches
Plain Diff
Fix unit tes
parent
ef1270e0
No related branches found
Branches containing commit
No related tags found
2 merge requests
!5
Taken current version of master branch in the https://github.com/holgern/beem
,
!4
Original changes pushed to master at https://github.com/holgern/beem
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/beem/data/tmp.json
+0
-6
0 additions, 6 deletions
tests/beem/data/tmp.json
tests/beem/test_utils.py
+4
-4
4 additions, 4 deletions
tests/beem/test_utils.py
with
4 additions
and
10 deletions
tests/beem/data/tmp.json
deleted
100644 → 0
+
0
−
6
View file @
ef1270e0
{
"owner"
:
"STM7d8DzUzjs5jbSkBVNctRaZFGe991MhzzTrqMoTVvZJ5oyZN7Cj"
,
"active"
:
"STM7oADsCds97GqyEDY4cQC66brVrg7XHuRa2MLvYbuGrdKnNoQa6"
,
"posting"
:
"STM5fpGcVwvUFF55EzWQ35oJeERcWvt4M9dXwehdpYmKaFCCqihL7"
,
"memo"
:
"STM6A7DywWvMZRokxAK5CpTo8XAPKbrMennAs4ntwRFq5nj2jR7nG"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/beem/test_utils.py
+
4
−
4
View file @
a49af4fd
...
@@ -210,7 +210,7 @@ class Testcases(unittest.TestCase):
...
@@ -210,7 +210,7 @@ class Testcases(unittest.TestCase):
data_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'
data
'
)
data_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'
data
'
)
file
=
os
.
path
.
join
(
data_dir
,
"
pubkey.json
"
)
file
=
os
.
path
.
join
(
data_dir
,
"
pubkey.json
"
)
owner
,
active
,
posting
,
memo
=
import_pubkeys
(
file
)
owner
,
active
,
posting
,
memo
=
import_pubkeys
(
file
)
self
.
assertEqual
(
owner
,
"
STM
7d8DzUzjs5jbSkBVNctRaZFGe991MhzzTrqMoTVvZJ5oyZN7Cj
"
)
self
.
assertEqual
(
owner
,
"
STM
51mq6zWEz3NGRYL8uMpJAe9c1qzf4ufh2ha4QqWzizqVrPL9Nq
"
)
self
.
assertEqual
(
active
,
"
STM
7oADsCds97GqyEDY4cQC66brVrg7XHuRa2MLvYbuGrdKnNoQa6
"
)
self
.
assertEqual
(
active
,
"
STM
6oVMzJJJgSu3hV1DZBcLdMUJYj3Cs6kGXf6WVLP3HhgLgNkA5J
"
)
self
.
assertEqual
(
posting
,
"
STM
5fpGcVwvUFF55EzWQ35oJeERcWvt4M9dXwehdpYmKaFCCqihL7
"
)
self
.
assertEqual
(
posting
,
"
STM
8XJdv7T36XhKRmPaodt8tqoeMbNgLrsiyweNESvnKqZWQQekCQ
"
)
self
.
assertEqual
(
memo
,
"
STM
6A7DywWvMZRokxAK5CpTo8XAPKbrMennAs4ntwRFq5nj2jR7nG
"
)
self
.
assertEqual
(
memo
,
"
STM
87KR1HKDoLiC3dv3goE99KDqEocBi3br8vcop6DgrCTwJcWexH
"
)
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