Added AbstractAttractTest.attract property

This commit is contained in:
2016-11-10 15:33:25 +01:00
parent 6628ce0b15
commit 72e903d192
5 changed files with 11 additions and 7 deletions

View File

@@ -22,6 +22,10 @@ class AbstractAttractTest(AbstractPillarTest):
AbstractPillarTest.tearDown(self)
@property
def attract(self):
return self.app.pillar_extensions['attract']
def ensure_project_exists(self, project_overrides=None):
from attract.setup import setup_for_attract