mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-16 10:17:35 +08:00
fix: reload to refresh previously loaded debugtalk module
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import os
|
||||
import unittest
|
||||
|
||||
from httprunner import compat, exceptions
|
||||
from httprunner import compat, exceptions, loader
|
||||
from httprunner.compat import convert_variables
|
||||
|
||||
|
||||
class TestCompat(unittest.TestCase):
|
||||
def setUp(self):
|
||||
loader.project_meta = None
|
||||
|
||||
def test_convert_variables(self):
|
||||
raw_variables = [{"var1": 1}, {"var2": "val2"}]
|
||||
self.assertEqual(
|
||||
|
||||
Reference in New Issue
Block a user