dummyfunction 1.0.0__tar.gz → 1.0.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.
- {dummyfunction-1.0.0/src/dummyfunction.egg-info → dummyfunction-1.0.2}/PKG-INFO +8 -5
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/pyproject.toml +6 -4
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/src/dummyfunction/core/__init__.py +1 -1
- dummyfunction-1.0.2/src/dummyfunction/tests/test_1984.py +39 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2/src/dummyfunction.egg-info}/PKG-INFO +8 -5
- dummyfunction-1.0.0/src/dummyfunction/tests/test_1984.py +0 -10
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/LICENSE.txt +0 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/MANIFEST.in +0 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/README.rst +0 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/setup.cfg +0 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/src/dummyfunction/__init__.py +0 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/src/dummyfunction/tests/__init__.py +0 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/src/dummyfunction.egg-info/SOURCES.txt +0 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/src/dummyfunction.egg-info/dependency_links.txt +0 -0
- {dummyfunction-1.0.0 → dummyfunction-1.0.2}/src/dummyfunction.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dummyfunction
|
|
3
|
-
Version: 1.0.
|
|
4
|
-
Summary:
|
|
5
|
-
Author-email: Johannes <johannes
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: This project provides the dummy function.
|
|
5
|
+
Author-email: Johannes <johannes.programming@gmail.com>
|
|
6
6
|
License: The MIT License (MIT)
|
|
7
7
|
|
|
8
8
|
Copyright (c) 2025 Johannes
|
|
@@ -29,15 +29,18 @@ 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
31
|
Classifier: Development Status :: 5 - Production/Stable
|
|
32
|
+
Classifier: Intended Audience :: Developers
|
|
32
33
|
Classifier: License :: OSI Approved :: MIT License
|
|
33
34
|
Classifier: Natural Language :: English
|
|
34
35
|
Classifier: Operating System :: OS Independent
|
|
35
36
|
Classifier: Programming Language :: Python
|
|
36
37
|
Classifier: Programming Language :: Python :: 3
|
|
37
38
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
38
|
-
|
|
39
|
+
Classifier: Typing :: Typed
|
|
40
|
+
Requires-Python: >=3.9
|
|
39
41
|
Description-Content-Type: text/x-rst
|
|
40
42
|
License-File: LICENSE.txt
|
|
43
|
+
Dynamic: license-file
|
|
41
44
|
|
|
42
45
|
=============
|
|
43
46
|
dummyfunction
|
|
@@ -6,24 +6,26 @@ requires = [
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
authors = [
|
|
9
|
-
{ email = "johannes
|
|
9
|
+
{ email = "johannes.programming@gmail.com", name = "Johannes" },
|
|
10
10
|
]
|
|
11
11
|
classifiers = [
|
|
12
12
|
"Development Status :: 5 - Production/Stable",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
13
14
|
"License :: OSI Approved :: MIT License",
|
|
14
15
|
"Natural Language :: English",
|
|
15
16
|
"Operating System :: OS Independent",
|
|
16
17
|
"Programming Language :: Python",
|
|
17
18
|
"Programming Language :: Python :: 3",
|
|
18
19
|
"Programming Language :: Python :: 3 :: Only",
|
|
20
|
+
"Typing :: Typed",
|
|
19
21
|
]
|
|
20
22
|
dependencies = []
|
|
21
|
-
description = "
|
|
23
|
+
description = "This project provides the dummy function."
|
|
22
24
|
keywords = []
|
|
23
25
|
name = "dummyfunction"
|
|
24
26
|
readme = "README.rst"
|
|
25
|
-
requires-python = ">=3.
|
|
26
|
-
version = "1.0.
|
|
27
|
+
requires-python = ">=3.9"
|
|
28
|
+
version = "1.0.2"
|
|
27
29
|
|
|
28
30
|
[project.license]
|
|
29
31
|
file = "LICENSE.txt"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
|
|
3
|
+
from dummyfunction.core import dummyfunction
|
|
4
|
+
|
|
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
|
+
)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == "__main__":
|
|
39
|
+
unittest.main()
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dummyfunction
|
|
3
|
-
Version: 1.0.
|
|
4
|
-
Summary:
|
|
5
|
-
Author-email: Johannes <johannes
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: This project provides the dummy function.
|
|
5
|
+
Author-email: Johannes <johannes.programming@gmail.com>
|
|
6
6
|
License: The MIT License (MIT)
|
|
7
7
|
|
|
8
8
|
Copyright (c) 2025 Johannes
|
|
@@ -29,15 +29,18 @@ 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
31
|
Classifier: Development Status :: 5 - Production/Stable
|
|
32
|
+
Classifier: Intended Audience :: Developers
|
|
32
33
|
Classifier: License :: OSI Approved :: MIT License
|
|
33
34
|
Classifier: Natural Language :: English
|
|
34
35
|
Classifier: Operating System :: OS Independent
|
|
35
36
|
Classifier: Programming Language :: Python
|
|
36
37
|
Classifier: Programming Language :: Python :: 3
|
|
37
38
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
38
|
-
|
|
39
|
+
Classifier: Typing :: Typed
|
|
40
|
+
Requires-Python: >=3.9
|
|
39
41
|
Description-Content-Type: text/x-rst
|
|
40
42
|
License-File: LICENSE.txt
|
|
43
|
+
Dynamic: license-file
|
|
41
44
|
|
|
42
45
|
=============
|
|
43
46
|
dummyfunction
|
|
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
|