Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
435fa3ad
Commit
435fa3ad
authored
Jul 08, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test descriptions
parent
6932ea37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
trans/tests/commands.py
trans/tests/commands.py
+6
-6
No files found.
trans/tests/commands.py
View file @
435fa3ad
...
...
@@ -45,7 +45,7 @@ class ImportProjectTest(RepoTestCase):
'master'
,
'**/*.po'
,
)
# We should have loaded
three
subprojects
# We should have loaded
four
subprojects
self
.
assertEqual
(
project
.
subproject_set
.
count
(),
4
)
def
test_import_po
(
self
):
...
...
@@ -58,7 +58,7 @@ class ImportProjectTest(RepoTestCase):
'**/*.po'
,
file_format
=
'po'
)
# We should have loaded
three
subprojects
# We should have loaded
four
subprojects
self
.
assertEqual
(
project
.
subproject_set
.
count
(),
4
)
def
test_import_invalid
(
self
):
...
...
@@ -73,7 +73,7 @@ class ImportProjectTest(RepoTestCase):
'**/*.po'
,
file_format
=
'INVALID'
)
# We should have loaded
thre
e subprojects
# We should have loaded
non
e subprojects
self
.
assertEqual
(
project
.
subproject_set
.
count
(),
0
)
def
test_import_aresource
(
self
):
...
...
@@ -113,10 +113,9 @@ class ImportProjectTest(RepoTestCase):
'master'
,
'**/*.po'
,
)
# We should have loaded
three
subprojects
# We should have loaded
four
subprojects
self
.
assertEqual
(
project
.
subproject_set
.
count
(),
4
)
# We should load no more subprojects
call_command
(
'import_project'
,
'test'
,
...
...
@@ -124,6 +123,7 @@ class ImportProjectTest(RepoTestCase):
'master'
,
'**/*.po'
,
)
# We should load no more subprojects
self
.
assertEqual
(
project
.
subproject_set
.
count
(),
4
)
def
test_import_against_existing
(
self
):
...
...
@@ -140,7 +140,7 @@ class ImportProjectTest(RepoTestCase):
'master'
,
'**/*.po'
,
)
# We should have loaded f
our
subprojects
# We should have loaded f
ive
subprojects
self
.
assertEqual
(
project
.
subproject_set
.
count
(),
5
)
def
test_import_missing_project
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment