summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-06-22 15:03:07 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-07-21 15:15:15 -0700
commitfe3251bbdde4e2d2d3c3d83a23700de40ba496f7 (patch)
tree90eeb2f266da4b799620d65614f6bef420815075 /unittests
parent2794066bd71d7e64715e0dce62e79d1cb977d644 (diff)
framework: Only sort files for json backend that end in .json
This fixes trying to load .tmp files that don't get moved during an interrupted run. bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101503 Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Tested-by: Hector Edmundo Ramirez Gomez <hector.edmundox.ramirez.gomez@intel.com>
Diffstat (limited to 'unittests')
-rw-r--r--unittests/framework/backends/test_json.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/unittests/framework/backends/test_json.py b/unittests/framework/backends/test_json.py
index a61425215..94d8fbf54 100644
--- a/unittests/framework/backends/test_json.py
+++ b/unittests/framework/backends/test_json.py
@@ -146,7 +146,6 @@ class TestJSONBackend(object):
jsonschema.validate(json_, schema)
- @pytest.mark.xfail
def test_ignores_invalid(self, tmpdir):
test = backends.json.JSONBackend(six.text_type(tmpdir))
test.initialize(shared.INITIAL_METADATA)