import sys
sys.path.insert(0, "..")
from . import login
from . import addpost

import sys
sys.path.insert(0, "..")
from . import login
from . import addpost
from . import logout

Add logout test to __init__.py