I am trying to test a python script and when I import the script into my testing suite, it calls the script. In my example below I import list3rdparty and once I run the test it immediate calls list3rdparty. I do not want this to happen. I would like the test to only call the functions within every test case.

list3rdpartytest.py

import unittest
from list3rdparty import * ## this is where the script is being imported