aboutsummaryrefslogtreecommitdiffstats
path: root/testing/toot/01-skip-version-test.patch
diff options
context:
space:
mode:
authorGalen Abell <galen@galenabell.com>2020-04-04 16:13:46 +0000
committerRasmus Thomsen <oss@cogitri.dev>2020-04-04 16:13:46 +0000
commitf792f7135f9f17d164323239e5b9eab4df8efd58 (patch)
treefa6421cb3bbbfbc050c7d0f17d1776dea1cf42c2 /testing/toot/01-skip-version-test.patch
parent901c1eb1775031335f6961b06de94d699b54cff1 (diff)
downloadaports-f792f7135f9f17d164323239e5b9eab4df8efd58.tar.bz2
aports-f792f7135f9f17d164323239e5b9eab4df8efd58.tar.xz
testing/toot: new aport
https://github.com/ihabunek/toot mastodon cli & tui testing/
Diffstat (limited to 'testing/toot/01-skip-version-test.patch')
-rw-r--r--testing/toot/01-skip-version-test.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/toot/01-skip-version-test.patch b/testing/toot/01-skip-version-test.patch
new file mode 100644
index 0000000000..d97d13ada3
--- /dev/null
+++ b/testing/toot/01-skip-version-test.patch
@@ -0,0 +1,15 @@
+Skip the version test, since it breaks even with proper PYTHONPATH
+diff --git a/tests/test_version.py b/tests/test_version.py
+deleted file mode 100644
+index 375c431..0000000
+--- a/tests/test_version.py
++++ /dev/null
+@@ -1,8 +0,0 @@
+-import toot
+-from pkg_resources import get_distribution
+-
+-
+-def test_version():
+- """Version specified in __version__ should be the same as the one
+- specified in setup.py."""
+- assert toot.__version__ == get_distribution('toot').version