Move NPM configuration and client behind plugin boundary
This commit is contained in:
@@ -228,14 +228,13 @@ class PluginRegistryTests(unittest.TestCase):
|
||||
"npm",
|
||||
"192.168.1.3:81",
|
||||
)
|
||||
config = SimpleNamespace(
|
||||
npm_endpoints=(endpoint,),
|
||||
)
|
||||
config = SimpleNamespace()
|
||||
|
||||
with patch.dict(
|
||||
os.environ,
|
||||
{
|
||||
"ENABLED_PLUGINS": "npm",
|
||||
"NPM_ENDPOINTS": "192.168.1.3",
|
||||
},
|
||||
clear=True,
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user