[PATCH 42 of 52 Narval cube] fix ModuleNotFoundError: No module named 'narvalbot'

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 11:34:42 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585460728 0
#      Sun Mar 29 05:45:28 2020 +0000
# Node ID a27f7845f8949447daa76d5fe43d21b18a7e6507
# Parent  80dd4075e2d46f2fa483758c5008d7a896245b8d
fix ModuleNotFoundError: No module named 'narvalbot'

diff --git a/cubicweb_narval/testutils.py b/cubicweb_narval/testutils.py
--- a/cubicweb_narval/testutils.py
+++ b/cubicweb_narval/testutils.py
@@ -16,8 +16,8 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-from narvalbot import server, main
-import narvalbot as bot
+from cubicweb_narval.narvalbot import server, main
+import cubicweb_narval.narvalbot as bot
 import os
 import sys
 import subprocess




More information about the cubicweb-devel mailing list