diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index 34a385a58b7067298041e7a5c9e9630a0b62f93d..baf6f1710952ec6e68cc58a00e519b40f43a95d6 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -24,3 +24,14 @@ def test_id(): output = check_output(["silkaj", "id", "elois", "--gtest"]).decode() assert "D7CYHJXjaH4j7zRdWngUbsURPnSnjsCYtvo6f8dvW3C" in output + + +def test_amount(): + """tests 'silkaj amount' command on gtest""" + + output = check_output(["silkaj", "amount", "3dnbnYY9i2bHMQUGyFp5GVvJ2wBkVpus31cDJA5cfRpj", "--gtest"]).decode() + assert "Total amount of: 3dnbnYY9i2bHMQUGyFp5GVvJ2wBkVpus31cDJA5cfRpj" in output + assert "Total Relative =" in output + assert "UD ÄžTest" in output + assert "Total Quantitative =" in output +