def get_testfile_path(name):
 return os.path.join(os.path.dirname(os.path.realpath(__file__)), name)

def get_testfile_path ( name ) : return os . path . join ( os . path . dirname ( os . path . realpath ( __file__ ) ) , name )
gets the full path to a testfile inside the same directory .