about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-08-25 23:44:03 +0100
committerJames Booth <boothj5@gmail.com>2015-08-25 23:44:03 +0100
commitcb19be2ffcc1f2881427cc12f01ac8790d9236c1 (patch)
treefac2e88be2d777db348696fb00088ae45a87301f /tests
parent55c2d1cc21974936e5b431de49ae81e6fc3845be (diff)
downloadprofani-tty-cb19be2ffcc1f2881427cc12f01ac8790d9236c1.tar.gz
Added PGP key autocompleter
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/pgp/stub_gpg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unittests/pgp/stub_gpg.c b/tests/unittests/pgp/stub_gpg.c
index d82f0933..4ac51ab5 100644
--- a/tests/unittests/pgp/stub_gpg.c
+++ b/tests/unittests/pgp/stub_gpg.c
@@ -54,3 +54,10 @@ void p_gpg_free_decrypted(char *decrypted) {}
 
 void p_gpg_free_keys(GHashTable *keys) {}
 
+void p_gpg_autocomplete_key_reset(void) {}
+
+char * p_gpg_autocomplete_key(const char * const search_str)
+{
+    return NULL;
+}
+