~canonical-platform-qa/ubuntu-system-tests/fix-wizard-reporting-page

« back to all changes in this revision

Viewing changes to ubuntu_system_tests/helpers/url_dispatcher.py

Implementing test  test_insert_sd_card_and_explore in the sd card suite.

Approved by Christopher Lee, Richard Huddie, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
 
2
 
 
3
#
 
4
# Ubuntu System Tests
 
5
# Copyright (C) 2015 Canonical
 
6
#
 
7
# This program is free software: you can redistribute it and/or modify
 
8
# it under the terms of the GNU General Public License version 3,
 
9
# as published by the Free Software Foundation.
 
10
#
 
11
# This program is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
# GNU General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU General Public License
 
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
#
 
19
 
 
20
import subprocess
 
21
 
 
22
 
 
23
def go_to_url(url):
 
24
    """ Go to the url specified """
 
25
    subprocess.call(['url-dispatcher', url])