Commit abf84efe authored by julian.gethmann's avatar julian.gethmann

Skip broken tests not to wait for the HTTP timeouts

parent 757f1d86
......@@ -19,41 +19,43 @@ class CassandraTestCase(unittest.TestCase):
def tearDown(self):
sys.argv = self.argv
# @pytest.mark.xfail
@pytest.mark.skip
def test_get_mean_values(self):
# normal
sys.argv = [
"get_mean_values", "--start", "2017-10-20T09:00:00", "--end",
"2017-10-20T12:00:00", "--pvs", "clic_field"
"get_mean_values", "--start", "2017-10-20T09:00:00", "--end", "2017-10-20T12:00:00",
"--pvs", "clic_field"
]
get_mean_values()
@pytest.mark.xfail
# @pytest.mark.xfail
@pytest.mark.skip
def test_get_mean_values_rawpv(self):
# raw pv
sys.argv = [
"get_mean_values", "--start", "2017-10-20T09:00:00", "--end",
"2017-10-20T12:00:00", "--pvs", "A:SR:Wig:01:Current:Readback",
"--rawpv"
"get_mean_values", "--start", "2017-10-20T09:00:00", "--end", "2017-10-20T12:00:00",
"--pvs", "A:SR:Wig:01:Current:Readback", "--rawpv"
]
get_mean_values()
@pytest.mark.xfail
# @pytest.mark.xfail
@pytest.mark.skip
def test_get_mean_values_raw(self):
# raw value
sys.argv = [
"get_mean_values", "--start", "2017-10-20T09:00:00", "--end",
"2017-10-20T12:00:00", "--pvs", "A:ID-S1:Wig:01:Position:Readback",
"--raw"
"get_mean_values", "--start", "2017-10-20T09:00:00", "--end", "2017-10-20T12:00:00",
"--pvs", "A:ID-S1:Wig:01:Position:Readback", "--raw"
]
get_mean_values()
@pytest.mark.xfail
# @pytest.mark.xfail
@pytest.mark.skip
def test_get_mean_values_rawstr(self):
# raw str
sys.argv = [
"get_mean_values", "--start", "2017-10-20T09:00:00", "--end",
"2017-10-20T12:00:00", "--pvs", "A:SR:Wig:01:Current:Readback",
"--raw"
"get_mean_values", "--start", "2017-10-20T09:00:00", "--end", "2017-10-20T12:00:00",
"--pvs", "A:SR:Wig:01:Current:Readback", "--raw"
]
get_mean_values()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment