Coverage for tests/test_last_pkg/test_last.py: 69%
13 statements
« prev ^ index » next coverage.py v7.2.1, created at 2024-07-25 16:40 +0300
« prev ^ index » next coverage.py v7.2.1, created at 2024-07-25 16:40 +0300
1"""
3Example tests for last package module last
5"""
7import sys
8import datetime
9import pytest
12@pytest.mark.order("last")
13@pytest.mark.run("last")
14@pytest.mark.xdist_group(name="groupLast")
15class TestsLast:
16 """
17 All tests will run on the same worker if you pass '--dist loadgroup'
18 """
19 def test_last_example_1(self):
20 print(datetime.datetime.now(), file=sys.stderr)
21 assert True
23 def test_last_example_2(self):
24 print(datetime.datetime.now(), file=sys.stderr)
25 assert True
27 # @pytest.mark.order("last")
28 # @pytest.mark.run("last")
29 # def test_last_last_example(self, signal_pkg_one_tests_finished):
30 # assert signal_pkg_one_tests_finished