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 : Correct Dictionary Inside the List
In a file named
testpy write a test function named testreturncorrectdictinsidelist 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 testedSchool: MS 'Age': 'StudyTime': 'Failures': 'Health': 'Absences': G: G: G: GAvg':
We recommend testing the first and the last element in the list.
For each function except load data you need to provide at least test cases covering different scenarios: functions testfunction test cases
For function loaddata, you need to provide at least test cases covering different scenarios.
That is test cases in total.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
