New Ticket

TICKET_CREATE privileges are required to perform this operation. You don't have the required permissions



Login Close

File functional_tests.py

bh_core_experimental

Last change on this file was 0394b68, checked in by Gary Martin <gjm@…>, 6 months ago

add branch for new bh_core experiment

git-svn-id: https://svn.apache.org/repos/asf/bloodhound/branches/bh_core_experimental@1832850 13f79535-47bb-0310-9956-ffa450edef68

  • Property mode set to 100644
File size: 1.3 KB

Line 
1#!/usr/bin/env python
2
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#   http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19
20from selenium import webdriver
21import unittest
22
23
24class TicketViewTest(unittest.TestCase):
25    def setUp(self):
26        self.browser = webdriver.Firefox()
27        self.browser.implicitly_wait(3)
28
29    def tearDown(self):
30        self.browser.quit()
31
32    def test_user_can_add_view_and_delete_ticket(self):
33        self.browser.get('http://localhost:8000')
34
35        self.assertIn('Bloodhound', self.browser.title)
36
37
38if __name__ == '__main__':
39    unittest.main(warnings='ignore')

Note See TracBrowser for help on using the repository browser.