aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2022-11-07 20:58:14 +0100
committerMartin Vilcans <martin@librador.com>2022-11-07 20:58:14 +0100
commit7646b9d6188143ac502a2a3d792bc2d90c38c040 (patch)
tree90ebaa072c5198e5ab9337344a43530b225b661a
parentc877a300c54cb5b41569fd2a2ac582097204ff4e (diff)
downloadscreenplain-7646b9d6188143ac502a2a3d792bc2d90c38c040.tar.gz
Replace nose with pytest
-rwxr-xr-xbin/test2
-rw-r--r--requirements.txt2
-rw-r--r--tests/__init__.py0
3 files changed, 2 insertions, 2 deletions
diff --git a/bin/test b/bin/test
index 5379c1b..677b4a1 100755
--- a/bin/test
+++ b/bin/test
@@ -1,3 +1,3 @@
#!/bin/bash -e
-nosetests --nocapture --with-doctest --doctest-tests
+pytest --doctest-modules
pycodestyle --ignore=E402,W504 screenplain tests
diff --git a/requirements.txt b/requirements.txt
index ca58340..a8e7a71 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
reportlab
-nose
+pytest
pycodestyle
diff --git a/tests/__init__.py b/tests/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/__init__.py