From 2e5095f301c62c73f6b839bbbffeda14ab8cd797 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 12 Oct 2019 20:51:29 +0200 Subject: Add, document and test nodeinfo api (fixes #199) --- tests/test_instance.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/test_instance.py') diff --git a/tests/test_instance.py b/tests/test_instance.py index a304585..343af18 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py @@ -36,3 +36,10 @@ def test_emoji(api): @pytest.mark.vcr() def test_health(api): assert api.instance_health() == True + +@pytest.mark.vcr() +def test_nodeinfo(api): + nodeinfo = api.instance_nodeinfo() + assert nodeinfo + assert nodeinfo.version == '2.0' + -- cgit v1.2.3