2👍
As mentioned in nose docs, Test modules offer module-level setup and teardown; define the method setup
, setup_module
, setUp
or setUpModule
for setup. for e.g. setup_module()
function: runs before anything else in the file
Source:stackexchange.com