~benji/charms/precise/juju-gui/remove-default-view-mode-config

« back to all changes in this revision

Viewing changes to server/guiserver/tests/test_auth.py

  • Committer: Francesco Banconi
  • Date: 2013-11-28 17:58:28 UTC
  • mfrom: (139.2.4 ftests-bootstrap-node)
  • Revision ID: francesco.banconi@canonical.com-20131128175828-hey77fo5aqf1er7u
Deploy the GUI to machine 0 in functional tests.

Also added guiserver info checks, and fixed the
deploy module so that the previous behavior of
"make deploy" is restored and the resulting
service name is not random generated.

Removed test_local_release: that scenario is
already tested in TestBuiltinServerLocalRelease.

Moved test_nrpe_check_available to 
TestBuiltinServerLocalRelease.

Tests: assuming ec2 is the name of your ec2
environment, run the following:
`time make ftest JUJU_ENV="ec2"`
Tests should pass and take ~25-30 minutes.

R=gary.poster, matthew.scott, jeff.pihach
CC=
https://codereview.appspot.com/34130043

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
            self.assertFalse(is_login, request)
318
318
 
319
319
 
320
 
class TestAuthenticationTokenHandler(unittest.TestCase):
 
320
class TestAuthenticationTokenHandler(LogTrapTestCase, unittest.TestCase):
321
321
 
322
322
    def setUp(self):
323
323
        super(TestAuthenticationTokenHandler, self).setUp()