diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pykwalify/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pykwalify/files')
-rw-r--r-- | dev-python/pykwalify/files/pykwalify-1.4.0-S.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/pykwalify/files/pykwalify-1.4.0-S.patch b/dev-python/pykwalify/files/pykwalify-1.4.0-S.patch new file mode 100644 index 000000000000..0f133c9c95c8 --- /dev/null +++ b/dev-python/pykwalify/files/pykwalify-1.4.0-S.patch @@ -0,0 +1,24 @@ + tests/test_core.py | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/tests/test_core.py b/tests/test_core.py +index 2fae7bc..0773f88 100644 +--- a/tests/test_core.py ++++ b/tests/test_core.py +@@ -397,12 +397,12 @@ class TestCore(object): + ] + + # Add override magic to make it easier to test a specific file +- if "S" in os.environ: +- pass_tests = [os.environ["S"]] ++ if "_S" in os.environ: ++ pass_tests = [os.environ["_S"]] + _fail_tests = [] +- elif "F" in os.environ: ++ elif "_F" in os.environ: + pass_tests = [] +- _fail_tests = [(os.environ["F"], SchemaError)] ++ _fail_tests = [(os.environ["_F"], SchemaError)] + + for passing_test_file in pass_tests: + f = self.f(os.path.join("success", passing_test_file)) |