Question: Please can you help me ASAP, using try, assert, and except for each test function Test 3 : Correct Dictionary Inside the List In a

Please can you help me ASAP, using try, assert, and except for each test function
Test 3: Correct Dictionary Inside the List
In a file named
test3.py, write a test function named test_return_correct_dict_inside_list to test that for all six functions in the load data module, the dictionaries inside the list have the correct data.
A general student's data is stored in the following format (although some keys may or may not be present depending on which function is being tested){'School': 'MS', 'Age': 17, 'StudyTime': 2.5, 'Failures': 3, 'Health': 3, 'Absences': 2,'G1': 8,'G2': 8,'G3': 10,'G_Avg':9.0'.
We recommend testing the first and the last element in the list.
For each function except load data you need to provide at least 3 test cases covering different scenarios: 5 functions **3 test/function =15 test cases
For function load_data, you need to provide at least 6 test cases covering different scenarios.
That is 21 test cases in total.
Please can you help me ASAP, using try, assert,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!