Skip to content

Commit

Permalink
correction d'un test
Browse files Browse the repository at this point in the history
  • Loading branch information
firm1 committed Aug 5, 2014
1 parent cb0b51a commit 9e7a8c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zds/tutorial/tests.py
Expand Up @@ -2121,7 +2121,7 @@ def test_dislike_note(self):
self.assertEqual(Note.objects.get(pk=note3.pk).dislike, 0)

def test_import_tuto(self):
"""Test import of big tuto."""
"""Test import of mini tuto."""
result = self.client.post(
reverse('zds.tutorial.views.import_tuto'),
{
Expand All @@ -2130,15 +2130,15 @@ def test_import_tuto(self):
settings.SITE_ROOT,
'fixtures',
'tuto',
'temps-reel-avec-irrlicht',
'temps-reel-avec-irrlicht.tuto'),
'securisez-vos-mots-de-passe-avec-lastpass',
'securisez-vos-mots-de-passe-avec-lastpass.tuto'),
'r'),
'images': open(
os.path.join(
settings.SITE_ROOT,
'fixtures',
'tuto',
'temps-reel-avec-irrlicht',
'securisez-vos-mots-de-passe-avec-lastpass',
'images.zip'),
'r'),
'import-tuto': "importer"},
Expand Down

0 comments on commit 9e7a8c8

Please sign in to comment.