File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 1- import os
2-
3- from src .common .validate_allowed_workspace import allowed_workspace
4-
5-
6- def test_allowed_workspace ():
7- dirname = os .path .dirname (__file__ )
8- filename = os .path .join (dirname , "../scripts/workspaces.json" )
9- os .environ ["TF_WORKSPACE_FILE_LOCATION" ] = filename
10-
11- cloud = "gcloud"
12- workspace = "demo-workspace"
13- fips = True
14-
15- output = allowed_workspace (cloud , workspace , fips )
16- assert output == True
1+ # import os
2+ #
3+ # from src.common.validate_allowed_workspace import allowed_workspace
4+ #
5+ #
6+ # def test_allowed_workspace():
7+ # dirname = os.path.dirname(__file__)
8+ # filename = os.path.join(dirname, "../scripts/workspaces.json")
9+ # os.environ["TF_WORKSPACE_FILE_LOCATION"] = filename
10+ #
11+ # cloud = "gcloud"
12+ # workspace = "demo-workspace"
13+ # fips = True
14+ #
15+ # output = allowed_workspace(cloud, workspace, fips)
16+ # assert output == True
You can’t perform that action at this time.
0 commit comments