<filename>tests/__init__.py
# -*- coding: utf-8 -*-
import sys
from os.path import dirname, abspath

# Make sure plexapi is in the systempath
sys.path.insert(0, dirname(dirname(abspath(__file__))))

<filename>tests/__init__.py
# -*- coding: utf-8 -*-
import sys
from os.path import dirname, abspath

# Make sure plexapi is in the systempath
sys.path.insert(0, dirname(dirname(abspath(__file__))))

# -*- coding: utf-8 -*- # Make sure plexapi is in the systempath