File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ def test_sourcemap(monkeypatch, tmpdir):
29
29
monkeypatch .setattr ("static_precompiler.settings.ROOT" , tmpdir .strpath )
30
30
31
31
compiler = compilers .CoffeeScript (sourcemap_enabled = False )
32
- compiler .compile_file ("scripts/test.coffee" ) == "COMPILED/scripts/test.js"
32
+ compiler .compile_file ("scripts/test.coffee" )
33
33
full_output_path = compiler .get_full_output_path ("scripts/test.coffee" )
34
34
assert not os .path .exists (os .path .splitext (full_output_path )[0 ] + ".map" )
35
35
36
36
compiler = compilers .CoffeeScript (sourcemap_enabled = True )
37
- compiler .compile_file ("scripts/test.coffee" ) == "COMPILED/scripts/test.js"
37
+ compiler .compile_file ("scripts/test.coffee" )
38
38
full_output_path = compiler .get_full_output_path ("scripts/test.coffee" )
39
39
assert os .path .exists (os .path .splitext (full_output_path )[0 ] + ".map" )
40
40
Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ def test_sourcemap(monkeypatch, tmpdir):
40
40
monkeypatch .setattr ("static_precompiler.utils.convert_urls" , lambda * args : None )
41
41
42
42
compiler = compilers .LESS (sourcemap_enabled = False )
43
- compiler .compile_file ("styles/test.less" ) == "COMPILED/styles/test.css"
43
+ compiler .compile_file ("styles/test.less" )
44
44
full_output_path = compiler .get_full_output_path ("styles/test.less" )
45
45
assert not os .path .exists (full_output_path + ".map" )
46
46
47
47
compiler = compilers .LESS (sourcemap_enabled = True )
48
- compiler .compile_file ("styles/test.less" ) == "COMPILED/styles/test.css"
48
+ compiler .compile_file ("styles/test.less" )
49
49
full_output_path = compiler .get_full_output_path ("styles/test.less" )
50
50
assert os .path .exists (full_output_path + ".map" )
51
51
Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ def test_sourcemap(monkeypatch, tmpdir):
35
35
monkeypatch .setattr ("static_precompiler.utils.convert_urls" , lambda * args : None )
36
36
37
37
compiler = compilers .SCSS (sourcemap_enabled = False )
38
- compiler .compile_file ("styles/test.scss" ) == "COMPILED/styles/test.css"
38
+ compiler .compile_file ("styles/test.scss" )
39
39
full_output_path = compiler .get_full_output_path ("styles/test.scss" )
40
40
assert not os .path .exists (full_output_path + ".map" )
41
41
42
42
compiler = compilers .SCSS (sourcemap_enabled = True )
43
- compiler .compile_file ("styles/test.scss" ) == "COMPILED/styles/test.css"
43
+ compiler .compile_file ("styles/test.scss" )
44
44
full_output_path = compiler .get_full_output_path ("styles/test.scss" )
45
45
assert os .path .exists (full_output_path + ".map" )
46
46
You can’t perform that action at this time.
0 commit comments