python-systemd/exclude-tests-on-obs.patch

23 lines
863 B
Diff

diff -ur python-systemd-234-orig/systemd/test/test_journal.py python-systemd-234/systemd/test/test_journal.py
--- python-systemd-234-orig/systemd/test/test_journal.py 2017-03-26 03:33:59.000000000 +0200
+++ python-systemd-234/systemd/test/test_journal.py 2017-06-26 11:15:19.961627278 +0200
@@ -215,12 +215,12 @@
j.this_boot(TEST_MID)
j.this_boot(TEST_MID.hex)
-def test_reader_this_machine(tmpdir):
- j = journal.Reader(path=tmpdir.strpath)
- with j:
- j.this_machine()
- j.this_machine(TEST_MID)
- j.this_machine(TEST_MID.hex)
+#def test_reader_this_machine(tmpdir):
+# j = journal.Reader(path=tmpdir.strpath)
+# with j:
+# j.this_machine()
+# j.this_machine(TEST_MID)
+# j.this_machine(TEST_MID.hex)
def test_reader_query_unique(tmpdir):
j = journal.Reader(path=tmpdir.strpath)