Skip to content

Commit

Permalink
remove test; interpreter is no longer handled by option store
Browse files Browse the repository at this point in the history
  • Loading branch information
David Marin committed Jun 18, 2015
1 parent 23232a2 commit 0b5a0ae
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tests/test_option_store.py
Expand Up @@ -73,25 +73,6 @@ def abs_paths(self, *paths):
return [os.path.join(self.tmp_dir, path) for path in paths]


class RunnerOptionStoreTestCase(EmptyMrjobConfTestCase):

def _assert_interp(self, val, **kwargs):
opts = RunnerOptionStore('inline', kwargs, [])
self.assertEqual(opts['interpreter'], val)

def test_interpreter_fallback(self):
if PY2:
self._assert_interp(['python'])
else:
self._assert_interp(['python3'])

def test_interpreter_fallback_2(self):
self._assert_interp(['python', '-v'], python_bin=['python', '-v'])

def test_interpreter(self):
self._assert_interp(['ruby'], interpreter=['ruby'])


class ConfigFilesTestCase(TempdirTestCase):

def save_conf(self, name, conf):
Expand Down

0 comments on commit 0b5a0ae

Please sign in to comment.