punit 1.9.0__tar.gz → 1.9.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. {punit-1.9.0/src/pUnit.egg-info → punit-1.9.2}/PKG-INFO +2 -1
  2. {punit-1.9.0 → punit-1.9.2}/pyproject.toml +2 -1
  3. {punit-1.9.0 → punit-1.9.2/src/pUnit.egg-info}/PKG-INFO +2 -1
  4. {punit-1.9.0 → punit-1.9.2}/src/pUnit.egg-info/requires.txt +1 -0
  5. {punit-1.9.0 → punit-1.9.2}/src/punit/__init__.py +2 -2
  6. {punit-1.9.0 → punit-1.9.2}/src/punit/__main__.py +1 -1
  7. {punit-1.9.0 → punit-1.9.2}/src/punit/cli.py +1 -1
  8. {punit-1.9.0 → punit-1.9.2}/LICENSE +0 -0
  9. {punit-1.9.0 → punit-1.9.2}/README.md +0 -0
  10. {punit-1.9.0 → punit-1.9.2}/setup.cfg +0 -0
  11. {punit-1.9.0 → punit-1.9.2}/src/pUnit.egg-info/SOURCES.txt +0 -0
  12. {punit-1.9.0 → punit-1.9.2}/src/pUnit.egg-info/dependency_links.txt +0 -0
  13. {punit-1.9.0 → punit-1.9.2}/src/pUnit.egg-info/entry_points.txt +0 -0
  14. {punit-1.9.0 → punit-1.9.2}/src/pUnit.egg-info/top_level.txt +0 -0
  15. {punit-1.9.0 → punit-1.9.2}/src/punit/TestResult.py +0 -0
  16. {punit-1.9.0 → punit-1.9.2}/src/punit/assertions/__init__.py +0 -0
  17. {punit-1.9.0 → punit-1.9.2}/src/punit/assertions/collections.py +0 -0
  18. {punit-1.9.0 → punit-1.9.2}/src/punit/assertions/exceptions.py +0 -0
  19. {punit-1.9.0 → punit-1.9.2}/src/punit/assertions/numeric.py +0 -0
  20. {punit-1.9.0 → punit-1.9.2}/src/punit/assertions/strings.py +0 -0
  21. {punit-1.9.0 → punit-1.9.2}/src/punit/discovery/TestModuleDiscovery.py +0 -0
  22. {punit-1.9.0 → punit-1.9.2}/src/punit/discovery/__init__.py +0 -0
  23. {punit-1.9.0 → punit-1.9.2}/src/punit/facts/Fact.py +0 -0
  24. {punit-1.9.0 → punit-1.9.2}/src/punit/facts/FactManager.py +0 -0
  25. {punit-1.9.0 → punit-1.9.2}/src/punit/facts/__init__.py +0 -0
  26. {punit-1.9.0 → punit-1.9.2}/src/punit/filters/Filter.py +0 -0
  27. {punit-1.9.0 → punit-1.9.2}/src/punit/filters/FilterManager.py +0 -0
  28. {punit-1.9.0 → punit-1.9.2}/src/punit/filters/__init__.py +0 -0
  29. {punit-1.9.0 → punit-1.9.2}/src/punit/metadata/CallableMetadata.py +0 -0
  30. {punit-1.9.0 → punit-1.9.2}/src/punit/metadata/__init__.py +0 -0
  31. {punit-1.9.0 → punit-1.9.2}/src/punit/py.typed +0 -0
  32. {punit-1.9.0 → punit-1.9.2}/src/punit/reports/HtmlReportGenerator.py +0 -0
  33. {punit-1.9.0 → punit-1.9.2}/src/punit/reports/JUnitReportGenerator.py +0 -0
  34. {punit-1.9.0 → punit-1.9.2}/src/punit/reports/JsonReportGenerator.py +0 -0
  35. {punit-1.9.0 → punit-1.9.2}/src/punit/reports/__init__.py +0 -0
  36. {punit-1.9.0 → punit-1.9.2}/src/punit/results/__init__.py +0 -0
  37. {punit-1.9.0 → punit-1.9.2}/src/punit/results/fails.py +0 -0
  38. {punit-1.9.0 → punit-1.9.2}/src/punit/runner.py +0 -0
  39. {punit-1.9.0 → punit-1.9.2}/src/punit/setups/Setup.py +0 -0
  40. {punit-1.9.0 → punit-1.9.2}/src/punit/setups/SetupManager.py +0 -0
  41. {punit-1.9.0 → punit-1.9.2}/src/punit/setups/__init__.py +0 -0
  42. {punit-1.9.0 → punit-1.9.2}/src/punit/teardowns/Teardown.py +0 -0
  43. {punit-1.9.0 → punit-1.9.2}/src/punit/teardowns/TeardownManager.py +0 -0
  44. {punit-1.9.0 → punit-1.9.2}/src/punit/teardowns/__init__.py +0 -0
  45. {punit-1.9.0 → punit-1.9.2}/src/punit/theories/Theory.py +0 -0
  46. {punit-1.9.0 → punit-1.9.2}/src/punit/theories/TheoryManager.py +0 -0
  47. {punit-1.9.0 → punit-1.9.2}/src/punit/theories/__init__.py +0 -0
  48. {punit-1.9.0 → punit-1.9.2}/src/punit/traits/Trait.py +0 -0
  49. {punit-1.9.0 → punit-1.9.2}/src/punit/traits/TraitManager.py +0 -0
  50. {punit-1.9.0 → punit-1.9.2}/src/punit/traits/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pUnit
3
- Version: 1.9.0
3
+ Version: 1.9.2
4
4
  Summary: A modernized unit-test framework for Python.
5
5
  Author-email: Shaun Wilson <mrshaunwilson@msn.com>
6
6
  License: MIT License
@@ -36,6 +36,7 @@ Classifier: Intended Audience :: Developers
36
36
  Requires-Python: >=3.11
37
37
  Description-Content-Type: text/markdown
38
38
  License-File: LICENSE
39
+ Requires-Dist: hazrakah
39
40
  Provides-Extra: dev
40
41
  Requires-Dist: coverage; extra == "dev"
41
42
  Requires-Dist: mypy; extra == "dev"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pUnit"
3
- version = "1.9.0"
3
+ version = "1.9.2"
4
4
  description = "A modernized unit-test framework for Python."
5
5
  keywords = ["test", "unittest", "unit-test", "xUnit", "nUnit", "pytest"]
6
6
  authors = [
@@ -16,6 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers"
17
17
  ]
18
18
  dependencies = [
19
+ "hazrakah"
19
20
  ]
20
21
 
21
22
  [project.optional-dependencies]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pUnit
3
- Version: 1.9.0
3
+ Version: 1.9.2
4
4
  Summary: A modernized unit-test framework for Python.
5
5
  Author-email: Shaun Wilson <mrshaunwilson@msn.com>
6
6
  License: MIT License
@@ -36,6 +36,7 @@ Classifier: Intended Audience :: Developers
36
36
  Requires-Python: >=3.11
37
37
  Description-Content-Type: text/markdown
38
38
  License-File: LICENSE
39
+ Requires-Dist: hazrakah
39
40
  Provides-Extra: dev
40
41
  Requires-Dist: coverage; extra == "dev"
41
42
  Requires-Dist: mypy; extra == "dev"
@@ -1,3 +1,4 @@
1
+ hazrakah
1
2
 
2
3
  [dev]
3
4
  coverage
@@ -15,8 +15,8 @@ from .assertions.exceptions import raises
15
15
  from .assertions.numeric import approx
16
16
 
17
17
 
18
- __version__ = '1.9.0'
19
- __commit__ = '69c5f5e'
18
+ __version__ = '1.9.2'
19
+ __commit__ = '4f7d92b'
20
20
  __all__ = [
21
21
  '__version__', '__commit__',
22
22
  'assertions',
@@ -40,7 +40,7 @@ async def async_main() -> None:
40
40
  for filepath in cli.files:
41
41
  rel = os.path.relpath(os.path.abspath(filepath), cli.workdir)
42
42
  dotnames.append(
43
- rel[:-3].replace('\\', '/').replace('/', '.')
43
+ rel[:-3].replace('\\', '/').replace('/', '.')
44
44
  )
45
45
  FactManager.instance().excludeTraits = cli.excludeTraits
46
46
  FactManager.instance().includeTraits = cli.includeTraits
@@ -355,7 +355,7 @@ Options:
355
355
  os._exit(1)
356
356
 
357
357
  @staticmethod
358
- def parse(argv: list[str] = sys.argv) -> CommandLineInterface:
358
+ def parse(argv: list[str] = sys.argv[1:]) -> CommandLineInterface:
359
359
  result = CommandLineInterface().__parse(argv)
360
360
  result.validate()
361
361
  return result
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes