Skip to content

Commit 761d577

Browse files
authored
Revert changes from refactor test functions and update test cases
1 parent ff81fa6 commit 761d577

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_helpers_fexec.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818

1919

2020
@process
21-
def _proc():
21+
def test1():
2222
pass
2323

2424

2525
@thread
26-
def _thrd():
26+
def test2():
2727
pass
2828

2929

@@ -57,8 +57,8 @@ def test_execution_functions(self):
5757
self.assertIn(b"PATTERN1", err)
5858
self.assertNotEqual(retc, 0)
5959
self.assertIsNotNone(filter_bin("cat", "id", "netstat", "whoami"))
60-
self.assertIsNotNone(_proc())
61-
self.assertIsNotNone(_thrd())
60+
self.assertIsNotNone(test1())
61+
self.assertIsNotNone(test2())
6262
self.assertIsNone(processes_clean())
6363
self.assertIsNone(threads_clean())
6464
self.assertEqual(apply([lambda x: x+1, lambda x: x+2], (1, )), [2, 3])

0 commit comments

Comments
 (0)