Skip to content

Commit

Permalink
Remove test for DaemonlessProcess, which is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut committed Jul 16, 2021
1 parent 13f9edf commit 1d780f0
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions green/test/test_process.py
Expand Up @@ -11,7 +11,7 @@
except:
from mock import MagicMock

from green.process import ProcessLogger, DaemonlessProcess, poolRunner
from green.process import ProcessLogger, poolRunner
from green import process

try:
Expand Down Expand Up @@ -60,23 +60,6 @@ def func():
mock_get_logger.assert_any_call()


class TestDaemonlessProcess(unittest.TestCase):
def test_daemonIsFalse(self):
"""
No matter what daemon is set to, it returns False
"""
dp = DaemonlessProcess()
self.assertEqual(dp.daemon, False)
# dp.daemon = True
# self.assertEqual(dp.daemon, False)
# dp.daemon = 5
# self.assertEqual(dp.daemon, False)
# dp.daemon = ["something"]
# self.assertEqual(dp.daemon, False)
# dp.daemon = []
# self.assertEqual(dp.daemon, False)


class TestPoolRunner(unittest.TestCase):

# Setup
Expand Down

0 comments on commit 1d780f0

Please sign in to comment.