python-nix-template 0.0.0__py3-none-any.whl
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.
- python_nix_template/__init__.py +12 -0
- python_nix_template/tests/.keep +0 -0
- python_nix_template/tests/__init__.py +1 -0
- python_nix_template/tests/test_main.py +18 -0
- python_nix_template-0.0.0.dist-info/METADATA +6 -0
- python_nix_template-0.0.0.dist-info/RECORD +8 -0
- python_nix_template-0.0.0.dist-info/WHEEL +4 -0
- python_nix_template-0.0.0.dist-info/entry_points.txt +2 -0
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# This file is intentionally left empty to mark the directory as a Python package
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# TODO: restore absolute imports when
|
|
2
|
+
# https://github.com/juspay/omnix/issues/425
|
|
3
|
+
# is resolved
|
|
4
|
+
# from python_nix_template import main
|
|
5
|
+
from .. import main
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def test_main(capsys):
|
|
9
|
+
"""Test that the main function prints the expected greeting."""
|
|
10
|
+
main()
|
|
11
|
+
captured = capsys.readouterr()
|
|
12
|
+
assert "Hello from python-nix-template!" in captured.out
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def test_main_returns_none():
|
|
16
|
+
"""Test that the main function returns None."""
|
|
17
|
+
result = main()
|
|
18
|
+
assert result is None
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
python_nix_template/__init__.py,sha256=SWijljiixr76x_g__FyfSKQA2fFFdKO92pStkwwmPDc,232
|
|
2
|
+
python_nix_template/tests/.keep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
python_nix_template/tests/__init__.py,sha256=tqECq8Hvxo_XJlhyZ8y2wo1MX9KM4s4WRWIVCJ08Xl4,82
|
|
4
|
+
python_nix_template/tests/test_main.py,sha256=-aYl-X4mvmYF3s0ZaFiLGI-4KdNP0RkrhVJWi_K5q9Y,486
|
|
5
|
+
python_nix_template-0.0.0.dist-info/METADATA,sha256=wjbwsHeXohyM8im93yk9chlia5WBdoou5nZkA432wYo,177
|
|
6
|
+
python_nix_template-0.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
python_nix_template-0.0.0.dist-info/entry_points.txt,sha256=RN5d_xX5FKf6jAcOBsu15TE_WU0FNLaZasy4CU65oJ4,65
|
|
8
|
+
python_nix_template-0.0.0.dist-info/RECORD,,
|