Delta Between Two Patch Sets: test/test_charm_running.py
Issue 7228070 :
Remove service click actions
Left Patch Set: Remove service click actions
Right Patch Set: Remove service click actions
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
.bzrignore
CHANGES.yaml
Makefile
[revision details]
app/app.js
app/views/topology/service.js
app/views/topology/topology.js
app/views/utils.js
archives/selenium-2.29.0.tar.gz
bin/test-charm
docs/browser-testing.rst
docs/index.rst
docs/process.rst
lib/deploy_charm_for_testing.py
lib/server.js
test/browser.py
test/test_application_notifications.js
test/test_charm_running.py
test/test_deploy_charm_for_testing.py
test/test_environment_view.js
test/test_service_module.js
undocumented
LEFT RIGHT
(no file at all) 1 import browser
2 import os
3 import unittest
4
5
6 class TestBasics(browser.TestCase):
7
8 def setUp(self):
9 super(TestBasics, self).setUp()
10 self.app_url = os.environ['APP_URL']
11
12 def test_title(self):
13 self.driver.get(self.app_url)
14 self.assertTrue('Juju Admin' in self.driver.title)
15
16 def test_environment_name(self):
17 self.driver.get(self.app_url)
18 body = self.driver.find_element_by_xpath('//body')
19 self.assertTrue('Environment on ' in body.text)
20
21
22 if __name__ == '__main__':
23 unittest.main()
LEFT RIGHT