~lutostag/ubuntu/trusty/maas/1.5.4+keystone

« back to all changes in this revision

Viewing changes to src/maascli/tests/test_integration.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2013-03-04 11:49:44 UTC
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: package-import@ubuntu.com-20130304114944-azcvu9anlf8mizpa
Tags: upstream-1.3+bzr1452+dfsg
ImportĀ upstreamĀ versionĀ 1.3+bzr1452+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    STDOUT,
20
20
    )
21
21
 
 
22
from maastesting import root
22
23
from maastesting.testcase import TestCase
23
24
 
24
25
 
25
 
def locate_dev_root():
26
 
    """Root of development tree that this test is in."""
27
 
    return os.path.join(
28
 
        os.path.dirname(__file__), os.pardir, os.pardir, os.pardir)
29
 
 
30
 
 
31
26
def locate_maascli():
32
 
    return os.path.join(locate_dev_root(), 'bin', 'maascli')
 
27
    return os.path.join(root, 'bin', 'maascli')
33
28
 
34
29
 
35
30
class TestMAASCli(TestCase):