Question: How do i solve yhis using check.equal and instances ( ) if im accquring my info from a tabke ( cloums and rows ) Test

How do i solve yhis using check.equal and instances() if im accquring my info from a tabke (cloums and rows)
Test 3: Correct Dictionary Inside the List
In a file named test 3.py, write a test function named test_return_correct_dict_inside_list to test that all six functions in the load data module, the dictionaries inside the list have the correct data. A general character's data is stored in the following format (although some keys may or may not be present depending on which function is being tested)
{'Occupation': 'WA', 'Agility': 11, 'Stamina': 9, 'Personality':
10, 'Intelligence': 8, 'Luck': 0.61, 'Armor': 11, 'Weapon':
'Spear'}.
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:
5 functions **3 test/function =15 test cases
For function load_data, you need to provide 6 test cases.
That's 21 test cases in total.
 How do i solve yhis using check.equal and instances() if im

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 Databases Questions!