ctrochalakis /
tx-submissions
(http://transifex.org/)
fork of transifex
GSoC '08: Introducing a new transifex submission system, an api and a command line client
Clone URL : http://bitbucket.org/ctrochalakis/tx-submissions/ (size: 1.4 MB)
| commit 455: | 246ec97e06c7 |
| parent 454: | 8ccd1219d925 |
| branch: | default |
minor: Fix git test failing
Changed (Δ40 bytes):
raw changeset »
transifex/tests/test_git/test_git_vcs.py (2 lines added, 1 lines removed)
Up to file-list transifex/tests/test_git/test_git_vcs.py:
| … | … | @@ -5,6 +5,7 @@ from turbogears import config |
5 |
5 |
from turbogears import config |
6 |
6 |
from transifex.vcs.git import repository, clone |
7 |
7 |
from transifex.tests.test_git import * |
8 |
from transifex.util import CommandError |
|
8 |
9 |
|
9 |
10 |
from nose.tools import assert_raises |
10 |
11 |
|
| … | … | @@ -54,7 +55,7 @@ class TestGit(): |
54 |
55 |
remove_file('foo') |
55 |
56 |
|
56 |
57 |
def test_fault_add(self): |
57 |
assert_raises( |
|
58 |
assert_raises(CommandError, repo.add, 'mplampla') |
|
58 |
59 |
|
59 |
60 |
def test_commit(self): |
60 |
61 |
new_file('test_commit', 'random stuff') |
