File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
from unittest import mock
5
5
6
6
from django .conf import settings
7
- from django .test import TestCase , override_settings
7
+ from django .test import TestCase
8
8
9
9
from pulpcore .plugin .models import Artifact , PulpTemporaryFile , ContentArtifact
10
10
from pulp_ansible .app .models import (
23
23
staging_name = settings .GALAXY_API_STAGING_DISTRIBUTION_BASE_PATH
24
24
25
25
26
- @override_settings (WORKING_DIRECTORY = tempfile .mkdtemp (suffix = 'galaxy_ng_unittest' ))
26
+ # @override_settings(WORKING_DIRECTORY=tempfile.mkdtemp(suffix='galaxy_ng_unittest'))
27
27
class TestTaskPublish (TestCase ):
28
- # artifact_path = os.path.join(tempfile.gettempdir(), 'artifact-tmp')
29
- artifact_path = os .path .join (settings .WORKING_DIRECTORY , 'artifact-tmp' )
28
+ artifact_path = os .path .join (tempfile .gettempdir (), 'artifact-tmp' )
29
+ # artifact_path = os.path.join(settings.WORKING_DIRECTORY, 'artifact-tmp')
30
30
31
31
def setUp (self ):
32
32
with open (self .artifact_path , 'w' ) as f :
You can’t perform that action at this time.
0 commit comments