Skip to content
Snippets Groups Projects
Commit 08e13a67 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'f-inspect-xfail' into 'dev'

f inspect xfail

See merge request !15
parents 336275fd 06112aa1
No related branches found
No related tags found
2 merge requests!22Release 0.3,!15f inspect xfail
Pipeline #14051 passed
...@@ -25,7 +25,7 @@ class DataModelTest(unittest.TestCase): ...@@ -25,7 +25,7 @@ class DataModelTest(unittest.TestCase):
assert "testproperty" in names assert "testproperty" in names
# TODO this seems to require integration test # TODO this seems to require integration test
@pytest.mark.xfail @pytest.mark.xfail(reason="This test will need an integration test. See issue #51")
def test_get_existing_entities(self): def test_get_existing_entities(self):
db.RecordType(name="TestRecord").insert() db.RecordType(name="TestRecord").insert()
c = db.Container().extend([ c = db.Container().extend([
......
...@@ -64,7 +64,6 @@ class ConverterTest(unittest.TestCase): ...@@ -64,7 +64,6 @@ class ConverterTest(unittest.TestCase):
r"\this\computer,\this\computer"), r"\this\computer,\this\computer"),
["/this/computer", "/this/computer"]) ["/this/computer", "/this/computer"])
@pytest.mark.xfail
def test_datetime(self): def test_datetime(self):
test_file = os.path.join(os.path.dirname(__file__), "date.xlsx") test_file = os.path.join(os.path.dirname(__file__), "date.xlsx")
self.importer = XLSImporter(converters={'d': datetime_converter, self.importer = XLSImporter(converters={'d': datetime_converter,
...@@ -165,7 +164,7 @@ class XLSImporterTest(unittest.TestCase): ...@@ -165,7 +164,7 @@ class XLSImporterTest(unittest.TestCase):
df_new = self.importer.check_unique(df) df_new = self.importer.check_unique(df)
self.assertEqual(df_new.shape[0], 1) self.assertEqual(df_new.shape[0], 1)
@pytest.mark.xfail @pytest.mark.xfail(reason="Wrong Error is raised. See Issue #52")
def test_raise(self): def test_raise(self):
tmp = NamedTemporaryFile(delete=False, suffix=".lol") tmp = NamedTemporaryFile(delete=False, suffix=".lol")
tmp.close() tmp.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment