dummyfunction 0.0.0.dev0__py3-none-any.whl → 1.0.1__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.
- dummyfunction/__init__.py +0 -3
- dummyfunction/core/__init__.py +8 -2
- dummyfunction/tests/test_1984.py +32 -3
- {dummyfunction-0.0.0.dev0.dist-info → dummyfunction-1.0.1.dist-info}/METADATA +8 -37
- dummyfunction-1.0.1.dist-info/RECORD +9 -0
- dummyfunction/__main__.py +0 -4
- dummyfunction-0.0.0.dev0.dist-info/RECORD +0 -10
- {dummyfunction-0.0.0.dev0.dist-info → dummyfunction-1.0.1.dist-info}/LICENSE.txt +0 -0
- {dummyfunction-0.0.0.dev0.dist-info → dummyfunction-1.0.1.dist-info}/WHEEL +0 -0
- {dummyfunction-0.0.0.dev0.dist-info → dummyfunction-1.0.1.dist-info}/top_level.txt +0 -0
dummyfunction/__init__.py
CHANGED
dummyfunction/core/__init__.py
CHANGED
dummyfunction/tests/test_1984.py
CHANGED
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import unittest
|
|
2
2
|
|
|
3
|
+
from dummyfunction.core import dummyfunction
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
|
|
6
|
+
class TestDummyFunction(unittest.TestCase):
|
|
7
|
+
def test_dummyfunction_no_args(self):
|
|
8
|
+
"""Test dummyfunction with no arguments."""
|
|
9
|
+
try:
|
|
10
|
+
dummyfunction()
|
|
11
|
+
except Exception as e:
|
|
12
|
+
self.fail(f"dummyfunction() raised an exception: {e}")
|
|
13
|
+
|
|
14
|
+
def test_dummyfunction_with_args(self):
|
|
15
|
+
"""Test dummyfunction with positional arguments."""
|
|
16
|
+
try:
|
|
17
|
+
dummyfunction(1, 2, 3, "test")
|
|
18
|
+
except Exception as e:
|
|
19
|
+
self.fail(f"dummyfunction(1, 2, 3, 'test') raised an exception: {e}")
|
|
20
|
+
|
|
21
|
+
def test_dummyfunction_with_kwargs(self):
|
|
22
|
+
"""Test dummyfunction with keyword arguments."""
|
|
23
|
+
try:
|
|
24
|
+
dummyfunction(a=1, b=2, c="test")
|
|
25
|
+
except Exception as e:
|
|
26
|
+
self.fail(f"dummyfunction(a=1, b=2, c='test') raised an exception: {e}")
|
|
27
|
+
|
|
28
|
+
def test_dummyfunction_with_args_and_kwargs(self):
|
|
29
|
+
"""Test dummyfunction with both positional and keyword arguments."""
|
|
30
|
+
try:
|
|
31
|
+
dummyfunction(1, "string", key1=True, key2=None)
|
|
32
|
+
except Exception as e:
|
|
33
|
+
self.fail(
|
|
34
|
+
f"dummyfunction(1, 'string', key1=True, key2=None) raised an exception: {e}"
|
|
35
|
+
)
|
|
7
36
|
|
|
8
37
|
|
|
9
38
|
if __name__ == "__main__":
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: dummyfunction
|
|
3
|
-
Version:
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary: This project provides the dummy function.
|
|
5
5
|
Author-email: Johannes <johannes-programming@mailfence.com>
|
|
6
6
|
License: The MIT License (MIT)
|
|
7
7
|
|
|
@@ -27,14 +27,17 @@ License: The MIT License (MIT)
|
|
|
27
27
|
Project-URL: Download, https://pypi.org/project/dummyfunction/#files
|
|
28
28
|
Project-URL: Index, https://pypi.org/project/dummyfunction/
|
|
29
29
|
Project-URL: Source, https://github.com/johannes-programming/dummyfunction/
|
|
30
|
-
|
|
30
|
+
Project-URL: Website, https://dummyfunction.johannes-programming.online/
|
|
31
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
32
|
+
Classifier: Intended Audience :: Developers
|
|
31
33
|
Classifier: License :: OSI Approved :: MIT License
|
|
32
34
|
Classifier: Natural Language :: English
|
|
33
35
|
Classifier: Operating System :: OS Independent
|
|
34
36
|
Classifier: Programming Language :: Python
|
|
35
37
|
Classifier: Programming Language :: Python :: 3
|
|
36
38
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
37
|
-
|
|
39
|
+
Classifier: Typing :: Typed
|
|
40
|
+
Requires-Python: >=3.8
|
|
38
41
|
Description-Content-Type: text/x-rst
|
|
39
42
|
License-File: LICENSE.txt
|
|
40
43
|
|
|
@@ -42,36 +45,4 @@ License-File: LICENSE.txt
|
|
|
42
45
|
dummyfunction
|
|
43
46
|
=============
|
|
44
47
|
|
|
45
|
-
|
|
46
|
-
--------
|
|
47
|
-
|
|
48
|
-
dummyfunction
|
|
49
|
-
|
|
50
|
-
Installation
|
|
51
|
-
------------
|
|
52
|
-
|
|
53
|
-
To install ``dummyfunction``, you can use ``pip``. Open your terminal and run:
|
|
54
|
-
|
|
55
|
-
.. code-block:: bash
|
|
56
|
-
|
|
57
|
-
pip install dummyfunction
|
|
58
|
-
|
|
59
|
-
License
|
|
60
|
-
-------
|
|
61
|
-
|
|
62
|
-
This project is licensed under the MIT License.
|
|
63
|
-
|
|
64
|
-
Links
|
|
65
|
-
-----
|
|
66
|
-
|
|
67
|
-
* `Download <https://pypi.org/project/dummyfunction/#files>`_
|
|
68
|
-
* `Index <https://pypi.org/project/dummyfunction/>`_
|
|
69
|
-
* `Source <https://github.com/johannes-programming/dummyfunction/>`_
|
|
70
|
-
|
|
71
|
-
Credits
|
|
72
|
-
-------
|
|
73
|
-
|
|
74
|
-
* Author: Johannes
|
|
75
|
-
* Email: `johannes-programming@mailfence.com <mailto:johannes-programming@mailfence.com>`_
|
|
76
|
-
|
|
77
|
-
Thank you for using ``dummyfunction``!
|
|
48
|
+
Visit the website `https://dummyfunction.johannes-programming.online/ <https://dummyfunction.johannes-programming.online/>`_ for more information.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
dummyfunction/__init__.py,sha256=AKIr1h2RbpFUNNabbduYCRGD70zCugtTb8iAF6M5RrM,67
|
|
2
|
+
dummyfunction/core/__init__.py,sha256=ffmQxu87mnx-JqsSdKDHnJqJbUX40u56Ht_Chd8x5t0,149
|
|
3
|
+
dummyfunction/tests/__init__.py,sha256=ccuQf8RUinh2ZI7Pr2uOY-P3ZVCwNTylyRk896u8cdI,301
|
|
4
|
+
dummyfunction/tests/test_1984.py,sha256=-ZOjJqXtSV3iS-QSg2R0KmX8TAgIpm-hGD3ZtHSCTb8,1311
|
|
5
|
+
dummyfunction-1.0.1.dist-info/LICENSE.txt,sha256=fOh9FHccUt9OcJPBaVJ482GX4yrl_FxCUk9YRZ53JOI,1074
|
|
6
|
+
dummyfunction-1.0.1.dist-info/METADATA,sha256=OQBFL-1KXXDpACbKLeR_-DkP1I9ULgZHg2HQjgs8JIE,2380
|
|
7
|
+
dummyfunction-1.0.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
8
|
+
dummyfunction-1.0.1.dist-info/top_level.txt,sha256=0n329vR1fNs3LoSrIBywz3WXySZi0ra4Xqpjgf9WtXg,14
|
|
9
|
+
dummyfunction-1.0.1.dist-info/RECORD,,
|
dummyfunction/__main__.py
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
dummyfunction/__init__.py,sha256=FY0UuRGVh3Mn8OmJbHnw5AwIw_Xlhg8V7s72DqRdtqk,106
|
|
2
|
-
dummyfunction/__main__.py,sha256=jyj7Qe8jg8GFni2zoRDfHSJ-ZzfcE3dfiYxhhZIfmn0,70
|
|
3
|
-
dummyfunction/core/__init__.py,sha256=-UmfYEmQNUYFs-KOWjKS4fKRMyCWeAD8ePWhEVgX3dM,47
|
|
4
|
-
dummyfunction/tests/__init__.py,sha256=ccuQf8RUinh2ZI7Pr2uOY-P3ZVCwNTylyRk896u8cdI,301
|
|
5
|
-
dummyfunction/tests/test_1984.py,sha256=GPfy8FPaGbj-w9uGHkJYSjmlSReVAXwiHS8JydJaERw,187
|
|
6
|
-
dummyfunction-0.0.0.dev0.dist-info/LICENSE.txt,sha256=fOh9FHccUt9OcJPBaVJ482GX4yrl_FxCUk9YRZ53JOI,1074
|
|
7
|
-
dummyfunction-0.0.0.dev0.dist-info/METADATA,sha256=wdDRDqBS9PObIUQcmpQYJ5piwvK_Q5IG80ond0b4RyQ,2684
|
|
8
|
-
dummyfunction-0.0.0.dev0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
9
|
-
dummyfunction-0.0.0.dev0.dist-info/top_level.txt,sha256=0n329vR1fNs3LoSrIBywz3WXySZi0ra4Xqpjgf9WtXg,14
|
|
10
|
-
dummyfunction-0.0.0.dev0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|