Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
test_main.TestMainFunctions Class Reference

Test the test functions that are not sure. More...

Inheritance diagram for test_main.TestMainFunctions:
Inheritance graph
Collaboration diagram for test_main.TestMainFunctions:
Collaboration graph

Public Member Functions

 setUp (self)
 Setup method that is called before each test.
 
None print_debug (self, str string, *args, **kwargs)
 Print a debug message.
 
None test_test1 (self)
 Test the test1 function.
 
None test_test2 (self)
 
None test_test3 (self)
 
None test_test4 (self)
 
None test_test1_mock (self)
 
None test_test2_mock (self)
 
None test_test3_mock (self)
 
None test_test4_mock (self)
 

Data Fields

 debug
 

Detailed Description

Test the test functions that are not sure.

Definition at line 34 of file test_main.py.

Member Function Documentation

◆ print_debug()

None test_main.TestMainFunctions.print_debug ( self,
str string,
* args,
** kwargs )

Print a debug message.

Parameters
selfThe self argument
stringThe string to be displayed
*argsoptional arguments the user whishes to pass
**kwargsoptional arguments the user whishes to pass

Definition at line 41 of file test_main.py.

◆ setUp()

test_main.TestMainFunctions.setUp ( self)

Setup method that is called before each test.

Definition at line 37 of file test_main.py.

◆ test_test1()

None test_main.TestMainFunctions.test_test1 ( self)

Test the test1 function.

Parameters
selfThe self argument

Definition at line 51 of file test_main.py.

◆ test_test1_mock()

None test_main.TestMainFunctions.test_test1_mock ( self)
 Test the test1 function with a mock
@param self The self argument

Definition at line 86 of file test_main.py.

◆ test_test2()

None test_main.TestMainFunctions.test_test2 ( self)
 Test the test2 function
@param self The self argument

Definition at line 58 of file test_main.py.

◆ test_test2_mock()

None test_main.TestMainFunctions.test_test2_mock ( self)
 Test the test2 function with a mock
@param self The self argument

Definition at line 95 of file test_main.py.

◆ test_test3()

None test_main.TestMainFunctions.test_test3 ( self)
 Test the test3 function
@param self The self argument

Definition at line 65 of file test_main.py.

◆ test_test3_mock()

None test_main.TestMainFunctions.test_test3_mock ( self)
 Test the test3 function with a mock
@param self The self argument

Definition at line 104 of file test_main.py.

◆ test_test4()

None test_main.TestMainFunctions.test_test4 ( self)
 Test the test4 function
@param self The self argument

Definition at line 74 of file test_main.py.

◆ test_test4_mock()

None test_main.TestMainFunctions.test_test4_mock ( self)
 Test the test4 function with a mock
@param self The self argument

Definition at line 114 of file test_main.py.

Field Documentation

◆ debug

test_main.TestMainFunctions.debug

Definition at line 39 of file test_main.py.


The documentation for this class was generated from the following file: