Fixed import problem. Fixed pytest rewrite rules.

This commit is contained in:
Patrick Lehmann
2024-08-02 08:20:50 +02:00
parent 5e0aa52e5d
commit 33b99a3b4e
2 changed files with 5 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ jobs:
- UnitTesting - UnitTesting
- PlatformTesting - PlatformTesting
with: with:
additional_merge_args: '-d --pytest "pytest.tests.unit;pytest.tests.platform;pytest.tests.benchmark;pytest.tests.performance"' additional_merge_args: '-d --pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit;;reduce-depth:pytest.tests.platform"'
Package: Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@r1 uses: pyTooling/Actions/.github/workflows/Package.yml@r1

View File

@@ -28,12 +28,12 @@
# SPDX-License-Identifier: Apache-2.0 # # SPDX-License-Identifier: Apache-2.0 #
# ==================================================================================================================== # # ==================================================================================================================== #
# #
from unittest import TestCase from unittest import TestCase
from pytest import mark from pytest import mark
from pyTooling.Common import CurrentPlatform from pyTooling.Platform import CurrentPlatform
from pyDummy import Application from pyDummy import Application
if __name__ == "__main__": # pragma: no cover if __name__ == "__main__": # pragma: no cover