[PATCH 2 of 3 activitystream] Add basic test just checking the database creation is successful

Philippe Pepiot philippe.pepiot at logilab.fr
Wed Jun 12 16:58:16 CEST 2019


# HG changeset patch
# User Philippe Pepiot <philippe.pepiot at logilab.fr>
# Date 1560351343 -7200
#      Wed Jun 12 16:55:43 2019 +0200
# Node ID 750f321246e40a1852f48e4625227a98ae2a0395
# Parent  b0030ecca11712233290f158eee8812e3ebe2fc2
Add basic test just checking the database creation is successful

diff --git a/MANIFEST.in b/MANIFEST.in
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -4,7 +4,7 @@ recursive-include cubicweb_activitystrea
 recursive-include cubicweb_activitystream/data *.gif *.png *.ico *.css *.js
 recursive-include cubicweb_activitystream/i18n *.po
 recursive-include cubicweb_activitystream/wdoc *
-recursive-include test/data bootstrap_cubes *.py
+recursive-include test *.py
 include *.ini
 prune debian
 prune cubicweb-activitystream.spec
diff --git a/test/test_activitystream.py b/test/test_activitystream.py
new file mode 100644
--- /dev/null
+++ b/test/test_activitystream.py
@@ -0,0 +1,8 @@
+from cubicweb.devtools.testlib import CubicWebTC
+
+
+class ActivityStreamTC(CubicWebTC):
+
+    def test_db_create(self):
+        # just checking db create pass
+        pass



More information about the cubicweb-devel mailing list