So I have a project that I am trying to test to see if it is working as expected. Every time I go to test it it says there is a TypeError or it says I'm not taking enough arguments.
this is an example of a test case I'm using:
pirates.process( 0, [( 'Q', 10000 ), ( 'S', 9000), ])
my definition looks like this:
__init__(people_after_me, items)
How do I fix this problem?
Traceback (most recent call last):
File "F:\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "F:\lib\unittest\case.py", line 605, in run
testMethod()
File "C:\Users\Travis Jones\PycharmProjects\pirates\piratesTest.py", line
12, in test00
( 'S', 9000 ),
TypeError: __init__() takes 2 positional arguments but 3 were given