From 3179245d536a0099b83f51b4d41541a1cb19f0e3 Mon Sep 17 00:00:00 2001
From: Markus Holzer <markus.holzer@fau.de>
Date: Fri, 1 Jul 2022 10:45:45 +0200
Subject: [PATCH] Fix test version string

---
 pystencils_tests/test_version_string.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/pystencils_tests/test_version_string.py b/pystencils_tests/test_version_string.py
index a98c1ce84..1d9c25e99 100644
--- a/pystencils_tests/test_version_string.py
+++ b/pystencils_tests/test_version_string.py
@@ -1,10 +1,11 @@
-import pystencils as ps
+import lbmpy
+
 
 def test_version_string():
-    version = ps.__version__
+    version = lbmpy.__version__
     print(version)
 
-    numeric_version = [int(x, 10) for x in version.split('.')[0:2]]
+    numeric_version = [int(x, 10) for x in version.split('.')[0:1]]
     test_version = sum(x * (100 ** i) for i, x in enumerate(numeric_version))
 
-    assert test_version >= 200
\ No newline at end of file
+    assert test_version >= 1
-- 
GitLab