From 69c1fde803a3dc4eff0ae0fb564b83b18d8e9415 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 20 Sep 2024 18:07:21 -0500 Subject: Try to put Python all in the src/ folder Signed-off-by: Matt Strapp --- src/__init__.py | 0 src/locusts-r-us/__init__.py | 0 src/locusts-r-us/locusts.py | 6 ------ src/locusts-r-us/test_locusts.py | 9 --------- src/locusts.py | 6 ++++++ src/test_locusts.py | 9 +++++++++ 6 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 src/__init__.py delete mode 100644 src/locusts-r-us/__init__.py delete mode 100644 src/locusts-r-us/locusts.py delete mode 100644 src/locusts-r-us/test_locusts.py create mode 100644 src/locusts.py create mode 100644 src/test_locusts.py (limited to 'src') diff --git a/src/__init__.py b/src/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/locusts-r-us/__init__.py b/src/locusts-r-us/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/src/locusts-r-us/locusts.py b/src/locusts-r-us/locusts.py deleted file mode 100644 index f050133..0000000 --- a/src/locusts-r-us/locusts.py +++ /dev/null @@ -1,6 +0,0 @@ -def introduce_locusts(): - """ - Introduce locusts into your codebase. - - Note that locusts are not included with this package, you must provide your own. - """ diff --git a/src/locusts-r-us/test_locusts.py b/src/locusts-r-us/test_locusts.py deleted file mode 100644 index 68e6df7..0000000 --- a/src/locusts-r-us/test_locusts.py +++ /dev/null @@ -1,9 +0,0 @@ -import unittest -from locusts import introduce_locusts - -class TestLocusts(unittest.TestCase): - def test_introduce_locusts(self): - self.assertIsNone(introduce_locusts()) - -if __name__ == '__main__': - unittest.main() \ No newline at end of file diff --git a/src/locusts.py b/src/locusts.py new file mode 100644 index 0000000..f050133 --- /dev/null +++ b/src/locusts.py @@ -0,0 +1,6 @@ +def introduce_locusts(): + """ + Introduce locusts into your codebase. + + Note that locusts are not included with this package, you must provide your own. + """ diff --git a/src/test_locusts.py b/src/test_locusts.py new file mode 100644 index 0000000..68e6df7 --- /dev/null +++ b/src/test_locusts.py @@ -0,0 +1,9 @@ +import unittest +from locusts import introduce_locusts + +class TestLocusts(unittest.TestCase): + def test_introduce_locusts(self): + self.assertIsNone(introduce_locusts()) + +if __name__ == '__main__': + unittest.main() \ No newline at end of file -- cgit v1.2.3