File tree 9 files changed +16
-9
lines changed
9 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 1
1
"""Covers interfaces used by the classic view."""
2
2
from __future__ import unicode_literals
3
3
4
- import helper
5
4
from cola import core
6
5
from cola import gitcmds
7
6
from cola .models .main import MainModel
8
7
8
+ from test import helper
9
+
9
10
10
11
class ClassicModelTestCase (helper .GitRepositoryTestCase ):
11
12
"""Tests interfaces used by the classic view."""
Original file line number Diff line number Diff line change 3
3
from __future__ import unicode_literals
4
4
import unittest
5
5
6
- import helper
7
-
8
6
from cola import core
9
7
8
+ from test import helper
9
+
10
10
11
11
class CoreColaUnicodeTestCase (unittest .TestCase ):
12
12
"""Tests the cola.core module's unicode handling
Original file line number Diff line number Diff line change 7
7
from cola import diffparse
8
8
from cola .diffparse import DiffParser
9
9
10
- import helper
10
+ from test import helper
11
11
12
12
13
13
class DiffParseModel (object ):
Original file line number Diff line number Diff line change 2
2
3
3
import unittest
4
4
5
- import helper
6
5
from cola import gitcfg
7
6
7
+ from test import helper
8
+
8
9
9
10
class GitConfigTestCase (helper .GitRepositoryTestCase ):
10
11
"""Tests the cola.gitcmds module."""
Original file line number Diff line number Diff line change 3
3
import os
4
4
import unittest
5
5
6
- import helper
7
6
from cola import gitcmds
8
7
from cola import gitcfg
9
8
9
+ from test import helper
10
+
10
11
11
12
class GitCmdsTestCase (helper .GitRepositoryTestCase ):
12
13
"""Tests the cola.gitcmds module."""
Original file line number Diff line number Diff line change 4
4
5
5
import unittest
6
6
7
- import helper
8
7
from cola import core
9
8
from cola .models .main import MainModel
10
9
10
+ from test import helper
11
+
12
+
11
13
class ColaBasicGitTestCase (helper .GitRepositoryTestCase ):
12
14
13
15
def setUp (self ):
Original file line number Diff line number Diff line change 3
3
import os
4
4
import unittest
5
5
6
- import helper
7
6
from cola import core
8
7
from cola .models .main import MainModel
9
8
9
+ from test import helper
10
+
10
11
11
12
class MainModelTestCase (helper .GitRepositoryTestCase ):
12
13
"""Tests the MainModel class."""
Original file line number Diff line number Diff line change 3
3
import unittest
4
4
import os
5
5
6
- import helper
7
6
from cola .settings import Settings
8
7
8
+ from test import helper
9
+
9
10
10
11
class SettingsTestCase (unittest .TestCase ):
11
12
"""Tests the cola.settings module"""
You can’t perform that action at this time.
0 commit comments