File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,13 @@ def assert_outcomes(run_result, outcomes):
27
27
except ValueError :
28
28
assert False , formatted_output
29
29
30
- normalized_outcomes = {
30
+ normalized_result_outcomes = {
31
31
force_plural (name ): outcome
32
32
for name , outcome in result_outcomes .items ()
33
- # TODO: do we really only want to check the specified outcomes?
34
- if force_plural (name ) in outcomes
33
+ if name != "seconds"
35
34
}
36
35
37
- assert normalized_outcomes == outcomes
38
-
39
- # for name, value in outcomes.items():
40
- # assert normalized_outcomes.get(name) == value, formatted_output
36
+ assert normalized_result_outcomes == outcomes , formatted_output
41
37
42
38
43
39
def format_run_result_output_for_assert (run_result ):
@@ -346,6 +342,12 @@ async def test_succeed(foo):
346
342
347
343
@skip_if_no_async_await ()
348
344
def test_async_fixture (testdir , cmd_opts ):
345
+ pytest_ini_file = """
346
+ [pytest]
347
+ markers =
348
+ redgreenblue
349
+ """
350
+ testdir .makefile ('.ini' , pytest = pytest_ini_file )
349
351
test_file = """
350
352
from twisted.internet import reactor, defer
351
353
import pytest
You can’t perform that action at this time.
0 commit comments