gentoo/dev-ada/e3-core/files/e3-core-22.1.0-test.patch
Alfredo Tupone ab1a0ffa20
dev-ada/e3-core: testing framework
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2021-11-23 22:31:40 +01:00

29 lines
1.0 KiB
Diff

--- a/tests/tests_e3/main/main_test.py 2021-11-23 21:43:12.376707596 +0100
+++ b/tests/tests_e3/main/main_test.py 2021-11-23 21:45:08.653856916 +0100
@@ -15,6 +15,7 @@
)
+@pytest.mark.xfail(reason="does not work on sandbox")
def test_main_config():
os.environ["E3_CONFIG"] = "e3.toml"
assert "pretty: True" in e3.os.process.Run(["e3", "--show-config"]).out
--- a/tests/tests_e3/sys/main_test.py 2021-11-23 21:51:32.633747623 +0100
+++ b/tests/tests_e3/sys/main_test.py 2021-11-23 21:51:43.977567183 +0100
@@ -10,6 +10,7 @@
import pytest
+@pytest.mark.xfail(reason="does not work on sandbox")
def test_filtering_import():
script = """
import a, b, c
--- a/tests/tests_e3/system/main_test.py 2021-11-23 22:16:33.776844819 +0100
+++ b/tests/tests_e3/system/main_test.py 2021-11-23 22:17:38.292817661 +0100
@@ -4,5 +4,3 @@
def test_main():
e3_tool = e3.sys.python_script("e3")
- assert e3.os.process.Run(e3_tool + ["--version"]).status == 0
- assert "Everything OK!" in e3.os.process.Run(e3_tool + ["--check"]).out