def test_get_variable_value_definition(in_value, out_value): """Test the value for single/tilde variables are correctly quoted, and parameter environment templates are handled""" param_dict = {'i': 3} res = JobFileWriter._get_variable_value_definition(in_value, param_dict) assert (out_value == res)
def test_get_variable_value_definition(self): """Test the value for single/tilde variables are correctly quoted""" for in_value, out_value in TILDE_IN_OUT: res = JobFileWriter._get_variable_value_definition(in_value) self.assertEqual(out_value, res)
def test_get_variable_value_definition(self): """Test the value for single/tilde variables are correctly quoted""" for in_value, out_value in TILDE_IN_OUT: res = JobFileWriter._get_variable_value_definition(in_value) self.assertEqual(out_value, res)