From 392a35915df1743c170ff81ad957d41ab5b47395 Mon Sep 17 00:00:00 2001 From: Daniel Van Der Maden Date: Thu, 26 Dec 2019 23:12:11 -0800 Subject: [PATCH] [test] Update basic tests --- test.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/test.py b/test.py index 4ef3d3d..aca0ec3 100644 --- a/test.py +++ b/test.py @@ -1,10 +1,19 @@ import pyhmy from pyhmy.util import download_cli from pyhmy.logging import ControlledLogger +from pyhmy import cli if __name__ == "__main__": - # download_cli("test") + download_cli("test") + print(cli.get_version()) + print(cli.get_binary_path()) + print(cli.get_account_keystore_path()) + print(cli.single_call("hmy keys list")) logger = ControlledLogger("test", "logs/") - CLI = pyhmy.HmyCLI(environment=pyhmy.get_environment()) - z = pyhmy.get_goversion() + print(pyhmy.get_goversion()) + logger.info("test info") + logger.debug("test debug") + logger.error("test error") + logger.warning("test warning") + logger.write()