fix
This commit is contained in:
@@ -109,6 +109,20 @@ from rowers.opaque import encoder
|
||||
|
||||
import inspect
|
||||
|
||||
|
||||
|
||||
class MyTestCase(TestCase):
|
||||
def setUp(self):
|
||||
self.osm_mock = patch('something')
|
||||
self.osm_mock.return_value = ""
|
||||
super(MyTestCase, self).setUp()
|
||||
self.osm_mock.start()
|
||||
|
||||
def tearDown(self):
|
||||
super(MyTestCase, self).tearDown()
|
||||
self.osm_mock.stop()
|
||||
|
||||
|
||||
def get_random_file(filename='rowers/tests/testdata/testdata.csv',name=''):
|
||||
|
||||
frm = inspect.stack()[3]
|
||||
|
||||
Reference in New Issue
Block a user