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)

Changed (Δ40 bytes):

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(RuntimeError, repo.add, 'mplampla')
58
        assert_raises(CommandError, repo.add, 'mplampla')
58
59
59
60
    def test_commit(self):
60
61
        new_file('test_commit', 'random stuff')