~cjwatson/bileto/no-bzip2

« back to all changes in this revision

Viewing changes to tests/test_app.py

  • Committer: Robert Bruce Park
  • Date: 2016-01-20 20:09:11 UTC
  • mto: This revision was merged to the branch mainline in revision 384.
  • Revision ID: robert.park@canonical.com-20160120200911-m0yocp9vnjx3oi1i
Rename tickets module to bileto.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
from shutil import rmtree
7
7
from mock import Mock, patch
8
8
 
9
 
from tickets.app import create_session_dir
10
 
from tickets.settings import read_from_file
11
 
from tickets.lplib import get_series
 
9
from bileto.app import create_session_dir
 
10
from bileto.settings import read_from_file
 
11
from bileto.lplib import get_series
12
12
 
13
13
from tests.tests import BiletoTestCase
14
14
 
27
27
        self.assertIsNone(create_session_dir(test_dir))
28
28
        rmtree(test_dir)
29
29
 
30
 
    @patch('tickets.lplib.lp')
 
30
    @patch('bileto.lplib.lp')
31
31
    def test_get_series(self, lp_mock):
32
32
        """Ensure that we get the right series from lplib."""
33
33
        alpha = Mock()