aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/tests/unit/core/test_testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/tests/unit/core/test_testcase.py')
-rw-r--r--xtesting/tests/unit/core/test_testcase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtesting/tests/unit/core/test_testcase.py b/xtesting/tests/unit/core/test_testcase.py
index 4ecedd9f..f3b2d512 100644
--- a/xtesting/tests/unit/core/test_testcase.py
+++ b/xtesting/tests/unit/core/test_testcase.py
@@ -151,7 +151,8 @@ class TestCaseTesting(unittest.TestCase):
self.test.stop_time).strftime('%Y-%m-%d %H:%M:%S'),
"version": "master"}
- @mock.patch('re.sub')
+ @mock.patch('os.path.join', return_value='')
+ @mock.patch('re.sub', return_value='')
@mock.patch('requests.post')
def _test_pushdb_version(self, *args, **kwargs):
payload = self._get_data()