MCPcopy Create free account
hub / github.com/celery/celery / setup_method

Method setup_method

t/unit/backends/test_filesystem.py:21–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19class test_FilesystemBackend:
20
21 def setup_method(self):
22 self.directory = tempfile.mkdtemp()
23 self.url = 'file://' + self.directory
24 self.path = self.directory.encode('ascii')
25
26 def test_a_path_is_required(self):
27 with pytest.raises(ImproperlyConfigured):

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected