adding needed url endpoint for copy functionality and the beginning of some testing that can be fleshed out more fully in later work

This commit is contained in:
Rebeccah
2021-02-10 16:52:23 -05:00
committed by Shane McDonald
parent f2801e0c03
commit 0921de5d2b
6 changed files with 35 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import logging
from awxkit.api.mixins import DSAdapter, HasCreate
from awxkit.api.mixins import DSAdapter, HasCreate, HasCopy
from awxkit.api.pages import (
Credential,
Organization,
@@ -15,7 +15,7 @@ from . import page
log = logging.getLogger(__name__)
class ExecutionEnvironment(HasCreate, base.Base):
class ExecutionEnvironment(HasCreate, HasCopy, base.Base):
dependencies = [Organization, Credential]
NATURAL_KEY = ('name',)