From c2de29e2dbd1833c9d5d7be3c19ffc86432e5370 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20DA=20ROCHA?= <sebastien@da-rocha.net>
Date: Wed, 11 Jul 2018 19:05:10 +0200
Subject: [PATCH] [enh] add test for id command

---
 tests/test_end_to_end.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py
index 9413be43..34a385a5 100644
--- a/tests/test_end_to_end.py
+++ b/tests/test_end_to_end.py
@@ -17,3 +17,10 @@ def test_wot():
     assert "received" in output
     assert "sent" in output
     assert "sent_expire" in output
+
+
+def test_id():
+    """tests 'silkaj id' certification on gtest"""
+
+    output = check_output(["silkaj", "id", "elois", "--gtest"]).decode()
+    assert "D7CYHJXjaH4j7zRdWngUbsURPnSnjsCYtvo6f8dvW3C" in output
-- 
GitLab