15
0
forked from pool/python-Yapsy
Files
python-Yapsy/fix-file-location-test.patch
Todd R 580359ae27 Accepting request 512685 from home:sebix:branches:devel:languages:python
- convert to singlespec
- run tests during build
 * add fix-file-location-test.patch to fix a hardcoded path in the tests
 * add fix-error-plugin-test.patch to fix test on 3.6
- add documentation in subpackage python-Yapsy-doc

OBS-URL: https://build.opensuse.org/request/show/512685
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Yapsy?expand=0&rev=4
2017-08-01 16:02:07 +00:00

12 lines
494 B
Diff

--- test/test_PluginFileLocator.py 2015-04-18 22:48:35.000000000 +0200
+++ test/test_PluginFileLocator1.py 2017-07-22 20:50:21.661546448 +0200
@@ -192,7 +192,7 @@
def test_default_plugins_place_is_parent_dir(self):
"""Test a non-trivial default behaviour introduced some time ago :S"""
pl = PluginFileLocator()
- self.assertTrue("package/yapsy" in pl.plugins_places[0])
+ self.assertTrue("yapsy" in pl.plugins_places[0])
def test_locatePlugins(self):
pl = PluginFileLocator()