diff --git a/docs/beem.snapshot.rst b/docs/beem.snapshot.rst index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b7ae8981ab765b7eb8c7bce986172a28a2f09027 100644 --- a/docs/beem.snapshot.rst +++ b/docs/beem.snapshot.rst @@ -0,0 +1,7 @@ +beem\.snapshot +============== + +.. automodule:: beem.snapshot + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/installation.rst b/docs/installation.rst index 6570808f979206e35a8801ee038a6a0363300b14..6116b103d4084155616af49149c44f84fb69d131 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -38,6 +38,14 @@ Install beem by pip:: pip install -U beem +Sometimes this does not work. Please try:: + + pip3 install -U beem + +or:: + + python -m pip install beem + Manual installation ------------------- @@ -69,3 +77,16 @@ Once the conda-forge channel has been enabled, beem can be installed with:: Signing and Verify can be fasten (200 %) by installing cryptography:: conda install cryptography + +Enable Logging +-------------- + +Add the following for enabling logging in your python script:: + + import logging + log = logging.getLogger(__name__) + logging.basicConfig(level=logging.INFO) + +When you want to see only critical errors, replace the last line by:: + + logging.basicConfig(level=logging.CRITICAL) diff --git a/tests/beem/test_nodelist.py b/tests/beem/test_nodelist.py index c318f19afa76d4d156b53d1b1852e51133971d6a..89bdd344645fdfa999d2a86ca08086a6ec2919bc 100644 --- a/tests/beem/test_nodelist.py +++ b/tests/beem/test_nodelist.py @@ -23,8 +23,8 @@ class Testcases(unittest.TestCase): def test_get_nodes(self): nodelist = NodeList() - all_nodes = nodelist.get_nodes(normal=True, appbase=True, dev=True, testnet=True) - self.assertEqual(len(nodelist), len(all_nodes)) + all_nodes = nodelist.get_nodes(normal=True, appbase=True, dev=True, testnet=True, testnetdev=True) + self.assertEqual(len(nodelist) - 2, len(all_nodes)) https_nodes = nodelist.get_nodes(wss=False) self.assertEqual(https_nodes[0][:5], 'https')