We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c237ba2 commit 66eb89eCopy full SHA for 66eb89e
tests/endtoend/test_file_name_functions.py
@@ -20,9 +20,17 @@ class TestHttpFunctionsFileName(testutils.WebHostTestCase):
20
Compared to the unittests/test_http_functions.py, this file is more focus
21
on testing the E2E flow scenarios.
22
"""
23
+
24
+ @classmethod
25
+ def setUpClass(cls):
26
+ os.environ["PYTHON_SCRIPT_FILE_NAME"] = "main.py"
27
+ super().setUpClass()
28
29
@classmethod
- def get_script_name(cls):
- return "main.py"
30
+ def tearDownClass(cls):
31
+ # Remove the WEBSITE_HOSTNAME environment variable
32
+ os.environ.pop('PYTHON_SCRIPT_FILE_NAME')
33
+ super().tearDownClass()
34
35
36
def get_script_dir(cls):
0 commit comments