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
ca6ee8ce
Commit
ca6ee8ce
authored
4 years ago
by
Holger
Browse files
Options
Downloads
Patches
Plain Diff
skip votes test and add fin.hive.3speak.co as node
parent
e6352788
No related branches found
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
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.rst
+2
-1
2 additions, 1 deletion
CHANGELOG.rst
beem/nodelist.py
+9
-1
9 additions, 1 deletion
beem/nodelist.py
tests/beem/test_cli.py
+1
-0
1 addition, 0 deletions
tests/beem/test_cli.py
tests/beem/test_nodelist.py
+1
-1
1 addition, 1 deletion
tests/beem/test_nodelist.py
with
13 additions
and
3 deletions
CHANGELOG.rst
+
2
−
1
View file @
ca6ee8ce
...
@@ -4,7 +4,8 @@ Changelog
...
@@ -4,7 +4,8 @@ Changelog
-------
-------
* Add option add_tor to config storage, which allows it to use beempy in tails
* Add option add_tor to config storage, which allows it to use beempy in tails
* Remove Events requirements, beem.notify and beemapi.websocket, as it is not well tested and there are no websocket api nodes available on hive
* Remove Events requirements, beem.notify and beemapi.websocket, as it is not well tested and there are no websocket api nodes available on hive
* Remove unnecessary requirements (pylibscrypt and future)
* Remove unnecessary requirements (pylibscrypt and future
* add new node (fin.hive.3speak.co)
0.24.13
0.24.13
-------
-------
...
...
This diff is collapsed.
Click to expand it.
beem/nodelist.py
+
9
−
1
View file @
ca6ee8ce
...
@@ -197,7 +197,15 @@ class NodeList(list):
...
@@ -197,7 +197,15 @@ class NodeList(list):
"
owner
"
:
"
arcange
"
,
"
owner
"
:
"
arcange
"
,
"
hive
"
:
True
,
"
hive
"
:
True
,
"
score
"
:
40
"
score
"
:
40
}
},
{
"
url
"
:
"
https://fin.hive.3speak.co
"
,
"
version
"
:
"
1.24.2
"
,
"
type
"
:
"
appbase
"
,
"
owner
"
:
"
3speak
"
,
"
hive
"
:
True
,
"
score
"
:
40
}
]
]
super
(
NodeList
,
self
).
__init__
(
nodes
)
super
(
NodeList
,
self
).
__init__
(
nodes
)
...
...
This diff is collapsed.
Click to expand it.
tests/beem/test_cli.py
+
1
−
0
View file @
ca6ee8ce
...
@@ -246,6 +246,7 @@ class Testcases(unittest.TestCase):
...
@@ -246,6 +246,7 @@ class Testcases(unittest.TestCase):
result
=
runner
.
invoke
(
cli
,
[
'
witnesses
'
])
result
=
runner
.
invoke
(
cli
,
[
'
witnesses
'
])
self
.
assertEqual
(
result
.
exit_code
,
0
)
self
.
assertEqual
(
result
.
exit_code
,
0
)
@unittest.skip
def
test_votes
(
self
):
def
test_votes
(
self
):
runner
=
CliRunner
()
runner
=
CliRunner
()
result
=
runner
.
invoke
(
cli
,
[
'
votes
'
,
'
--direction
'
,
'
out
'
,
'
fullnodeupdate
'
])
result
=
runner
.
invoke
(
cli
,
[
'
votes
'
,
'
--direction
'
,
'
out
'
,
'
fullnodeupdate
'
])
...
...
This diff is collapsed.
Click to expand it.
tests/beem/test_nodelist.py
+
1
−
1
View file @
ca6ee8ce
...
@@ -20,7 +20,7 @@ class Testcases(unittest.TestCase):
...
@@ -20,7 +20,7 @@ class Testcases(unittest.TestCase):
def
test_get_nodes
(
self
):
def
test_get_nodes
(
self
):
nodelist
=
NodeList
()
nodelist
=
NodeList
()
all_nodes
=
nodelist
.
get_nodes
(
exclude_limited
=
False
,
dev
=
True
,
testnet
=
True
,
testnetdev
=
True
)
all_nodes
=
nodelist
.
get_nodes
(
exclude_limited
=
False
,
dev
=
True
,
testnet
=
True
,
testnetdev
=
True
)
self
.
assertEqual
(
len
(
nodelist
)
-
1
6
,
len
(
all_nodes
))
self
.
assertEqual
(
len
(
nodelist
)
-
1
7
,
len
(
all_nodes
))
https_nodes
=
nodelist
.
get_nodes
(
wss
=
False
)
https_nodes
=
nodelist
.
get_nodes
(
wss
=
False
)
self
.
assertEqual
(
https_nodes
[
0
][:
5
],
'
https
'
)
self
.
assertEqual
(
https_nodes
[
0
][:
5
],
'
https
'
)
...
...
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