Commit 2611cd98 authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

res plz

parent 3b1170c0
......@@ -43,6 +43,7 @@ setup(
'discussions-create-group=collab_admin_kit.create_group:main',
'google-archive-data=collab_admin_kit.archive_data:main',
'google-build-fitbitstudy=collab_admin_kit.fitbit:main',
'google-create-resource=collab_admin_kit.create_resource:main',
'google-sift-drive=collab_admin_kit.sift_drive:main',
'google-sift-labels=collab_admin_kit.sift_labels:main',
'google-transfer-drive=collab_admin_kit.transfer_drive:main',
......
import google_create_resource
from collab_admin_kit import create_resource
import os
import pytest
import yaml
......@@ -14,7 +14,7 @@ def test_create(capsys):
'resource_type': 'test resource',
'description': 'a test resource'
}
resource = google_create_resource.Resource(
resource = create_resource.Resource(
args,
yaml.load(open(config), Loader=yaml.BaseLoader)
)
......@@ -33,7 +33,7 @@ def test_with_bad_owner(caplog):
'resource_type': 'test resource',
'description': 'a test resource'
}
resource = google_create_resource.Resource(
resource = create_resource.Resource(
args,
yaml.load(open(config), Loader=yaml.BaseLoader)
)
......@@ -51,7 +51,7 @@ def test_create_duplicate(caplog):
'resource_type': 'test resource',
'description': 'a test resource'
}
resource = google_create_resource.Resource(
resource = create_resource.Resource(
args,
yaml.load(open(config), Loader=yaml.BaseLoader)
)
......@@ -66,7 +66,7 @@ def test_fail_retrieval(caplog):
'resource_type': 'test resource',
'description': 'a test resource'
}
resource = google_create_resource.Resource(
resource = create_resource.Resource(
args,
yaml.load(open(config), Loader=yaml.BaseLoader)
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment