Update CodeTestingAtomicFlow.py
Browse files- CodeTestingAtomicFlow.py +8 -0
CodeTestingAtomicFlow.py
CHANGED
|
@@ -6,6 +6,14 @@ from flow_modules.Tachi67.InterpreterFlowModule import InterpreterAtomicFlow
|
|
| 6 |
|
| 7 |
|
| 8 |
class CodeTestingAtomicFlow(InterpreterAtomicFlow):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
def _open_file_and_wait_for_file_update(self, file_location, check_interval=1):
|
| 10 |
process = subprocess.Popen(["code", "--wait", file_location])
|
| 11 |
while True:
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
class CodeTestingAtomicFlow(InterpreterAtomicFlow):
|
| 9 |
+
"""This class inherits from InterpreterAtomicFlow and is used to test code.
|
| 10 |
+
|
| 11 |
+
*Input Interface*:
|
| 12 |
+
- `temp_code_file_location`: Location of the file containing the code to be tested.
|
| 13 |
+
|
| 14 |
+
*Output Interface*:
|
| 15 |
+
- `feedback`: Feedback from the test (i.e. test results).
|
| 16 |
+
"""
|
| 17 |
def _open_file_and_wait_for_file_update(self, file_location, check_interval=1):
|
| 18 |
process = subprocess.Popen(["code", "--wait", file_location])
|
| 19 |
while True:
|