mirror of
https://github.com/django/django.git
synced 2024-11-21 19:09:18 +01:00
Updated tests.
This commit is contained in:
parent
a57b9e8f82
commit
0b53628187
@ -676,7 +676,7 @@ class TestCollectionJSModuleImportAggregationManifestStorage(CollectionTestCase)
|
||||
|
||||
def test_module_import(self):
|
||||
relpath = self.hashed_file_path("cached/module.js")
|
||||
self.assertEqual(relpath, "cached/module.f0c3a6133ad5.js")
|
||||
self.assertEqual(relpath, "cached/module.6f5edad590fa.js")
|
||||
tests = [
|
||||
# Relative imports.
|
||||
b'import testConst from "./module_test.477bbebe77f0.js";',
|
||||
@ -708,7 +708,7 @@ class TestCollectionJSModuleImportAggregationManifestStorage(CollectionTestCase)
|
||||
|
||||
def test_aggregating_modules(self):
|
||||
relpath = self.hashed_file_path("cached/module.js")
|
||||
self.assertEqual(relpath, "cached/module.f0c3a6133ad5.js")
|
||||
self.assertEqual(relpath, "cached/module.6f5edad590fa.js")
|
||||
tests = [
|
||||
b'export * from "./module_test.477bbebe77f0.js";',
|
||||
b'export { testConst } from "./module_test.477bbebe77f0.js";',
|
||||
|
Loading…
Reference in New Issue
Block a user