From 00f01038b2a4653d87ca2529009fa873f6a4a26d Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Wed, 11 Jul 2018 18:48:31 +0530 Subject: Support for multiple yaml files --- yaksh/test_models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'yaksh/test_models.py') diff --git a/yaksh/test_models.py b/yaksh/test_models.py index eaf5bbc..e2795bb 100644 --- a/yaksh/test_models.py +++ b/yaksh/test_models.py @@ -434,7 +434,9 @@ class QuestionTestCases(unittest.TestCase): def test_load_questions_with_all_fields(self): """ Test load questions into database from Yaml """ question = Question() - question.load_questions(self.yaml_questions_data, self.user1) + question.load_questions(self.yaml_questions_data, self.user1, + self.load_tmp_path + ) question_data = Question.objects.get(summary="Yaml Demo") file = FileUpload.objects.get(question=question_data) test_case = question_data.get_test_cases() -- cgit