(re?)add a missing test file
This commit is contained in:
parent
e2a4b126d5
commit
f1c5c121c9
2 changed files with 2 additions and 1 deletions
1
partitions/tests/test_file.txt
Normal file
1
partitions/tests/test_file.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
do not delete me
|
|
@ -43,7 +43,7 @@ class TestViews(TestCase):
|
||||||
nom="My PSet",
|
nom="My PSet",
|
||||||
auteur="PSet author"
|
auteur="PSet author"
|
||||||
)
|
)
|
||||||
file = File(open("media/test_file.txt"), "test file")
|
file = File(open("partitions/tests/test_file.txt"), "test file")
|
||||||
Partition.objects.create(nom="part1", part=file, morceau=self.pset)
|
Partition.objects.create(nom="part1", part=file, morceau=self.pset)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
Loading…
Reference in a new issue