diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-20 09:58:26 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-20 09:58:26 -0700 |
commit | 1bef4bfa2ac030d1bce8e4a78e40de01e73f98e4 (patch) | |
tree | 35efdad76e0819c04b2428873729b994dbbcb548 /tests | |
parent | 501b729cd4baea52a9f6f3b33401037541619793 (diff) |
refactor some tools stuff
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py index b8149810..5ad9077a 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -4250,11 +4250,9 @@ TT = %s class OtherTests(RunnerCore): def test_eliminator(self): - coffee = path_from_root('tools', 'eliminator', 'node_modules', 'coffee-script', 'bin', 'coffee') - eliminator = path_from_root('tools', 'eliminator', 'eliminator.coffee') input = open(path_from_root('tools', 'eliminator', 'eliminator-test.js')).read() expected = open(path_from_root('tools', 'eliminator', 'eliminator-test-output.js')).read() - output = Popen([coffee, eliminator], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate(input)[0] + output = Popen([COFFEESCRIPT, VARIABLE_ELIMINATOR], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate(input)[0] self.assertEquals(output, expected) else: |