Skip to content

Commit 1eddbe8

Browse files
committed
test: drop the FileController type check, it is no longer a model
1 parent 1a070bf commit 1eddbe8

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎tests/test_controller_type_defaults.py‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,11 @@
77
"""
88

99
import osw.model.entity as model
10-
from osw.controller.file.base import FileController
1110
from osw.controller.file.local import LocalFileController
1211
from osw.controller.file.memory import InMemoryController
1312
from osw.controller.file.wiki import WikiFileController
1413

1514

16-
def test_file_controller_keeps_files_category():
17-
assert (
18-
FileController.__fields__["type"].get_default()
19-
== model.File.__fields__["type"].get_default()
20-
)
21-
22-
2315
def test_local_file_controller_keeps_local_files_category():
2416
assert (
2517
LocalFileController.__fields__["type"].get_default()

0 commit comments

Comments
 (0)