punit 1.2.8__tar.gz → 1.2.10__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.
- {punit-1.2.8/src/pUnit.egg-info → punit-1.2.10}/PKG-INFO +1 -1
- {punit-1.2.8 → punit-1.2.10}/pyproject.toml +1 -1
- {punit-1.2.8 → punit-1.2.10/src/pUnit.egg-info}/PKG-INFO +1 -1
- {punit-1.2.8 → punit-1.2.10}/src/punit/__init__.py +3 -2
- {punit-1.2.8 → punit-1.2.10}/src/punit/cli.py +2 -2
- {punit-1.2.8 → punit-1.2.10}/.scripts/punit +0 -0
- {punit-1.2.8 → punit-1.2.10}/LICENSE +0 -0
- {punit-1.2.8 → punit-1.2.10}/README.md +0 -0
- {punit-1.2.8 → punit-1.2.10}/setup.cfg +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/pUnit.egg-info/SOURCES.txt +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/pUnit.egg-info/dependency_links.txt +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/pUnit.egg-info/requires.txt +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/pUnit.egg-info/top_level.txt +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/TestResult.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/__main__.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/assertions/__init__.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/assertions/collections.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/assertions/exceptions.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/assertions/strings.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/discovery/TestModuleDiscovery.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/discovery/__init__.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/facts/Fact.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/facts/FactManager.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/facts/__init__.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/py.typed +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/reports/HtmlReportGenerator.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/reports/JUnitReportGenerator.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/reports/__init__.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/runner.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/theories/Theory.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/theories/TheoryManager.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/theories/__init__.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/traits/Trait.py +0 -0
- {punit-1.2.8 → punit-1.2.10}/src/punit/traits/__init__.py +0 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
# SPDX-FileCopyrightText: © 2024 Shaun Wilson
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
|
|
4
|
-
__version__ = '1.2.8'
|
|
5
|
-
|
|
6
4
|
from .assertions import *
|
|
7
5
|
from .facts import *
|
|
8
6
|
from .theories import *
|
|
9
7
|
from .traits import *
|
|
10
8
|
|
|
11
9
|
|
|
10
|
+
__version__ = '1.2.10'
|
|
11
|
+
__commit__ = 'c0f4ed9'
|
|
12
12
|
__all__ = [
|
|
13
|
+
'__version__', '__commit__',
|
|
13
14
|
'assertions',
|
|
14
15
|
'collections', 'exceptions', 'strings',
|
|
15
16
|
'facts',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import os
|
|
5
5
|
import sys
|
|
6
6
|
from typing import Optional
|
|
7
|
-
from . import __version__
|
|
7
|
+
from . import __version__, __commit__
|
|
8
8
|
from .traits import Trait
|
|
9
9
|
|
|
10
10
|
|
|
@@ -268,7 +268,7 @@ Options:
|
|
|
268
268
|
print('Filter Pattern:')
|
|
269
269
|
print(f'\t{self.__filterPattern}')
|
|
270
270
|
def printVersion(self) -> None:
|
|
271
|
-
print(f'pUnit {__version__}')
|
|
271
|
+
print(f'pUnit {__version__} ({__commit__})')
|
|
272
272
|
|
|
273
273
|
def validate(self) -> None:
|
|
274
274
|
if self.__workdir is None or len(self.__workdir.lstrip()) == 0 or self.__workdir.startswith('-'):
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|