fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #4405: reset metadata editor when switching views.
[redakcja.git]
/
src
/
dvcs
/
tests
/
tests.py
diff --git
a/src/dvcs/tests/tests.py
b/src/dvcs/tests/tests.py
index
06160ca
..
084e528
100644
(file)
--- a/
src/dvcs/tests/tests.py
+++ b/
src/dvcs/tests/tests.py
@@
-1,4
+1,6
@@
-from nose.tools import *
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.test import TestCase
from .models import ADocument
from django.test import TestCase
from .models import ADocument
@@
-10,7
+12,6
@@
class DocumentModelTests(TestCase):
)
def test_empty_file(self):
)
def test_empty_file(self):
- assert False
doc = ADocument.objects.create()
self.assertTextEqual(doc.materialize(), u"")
doc = ADocument.objects.create()
self.assertTextEqual(doc.materialize(), u"")