<filename>testing/conftest.py<gh_stars>0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pytest


def pytest_collection_modifyitems(session, config, items:list):
    # print(items)
    # print(type(items))
    # for item in items:
    #     if 'add' in item.nodeid:
    #         item.add_marker(pytest.mark.add)
    #
    #     elif 'div' in item.nodeid:
    #         item.add_marker(pytest.mark.div)

    items.reverse()
<filename>testing/conftest.py<gh_stars>0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pytest


def pytest_collection_modifyitems(session, config, items:list):
    # print(items)
    # print(type(items))
    # for item in items:
    #     if 'add' in item.nodeid:
    #         item.add_marker(pytest.mark.add)
    #
    #     elif 'div' in item.nodeid:
    #         item.add_marker(pytest.mark.div)

    items.reverse()
#!/usr/bin/env python # -*- coding: utf-8 -*- # print(items) # print(type(items)) # for item in items: #     if 'add' in item.nodeid: #         item.add_marker(pytest.mark.add) # #     elif 'div' in item.nodeid: #         item.add_marker(pytest.mark.div)