# Path: anchorhub/util/getanchorhubpath.py
# def get_anchorhub_path():
#     """
#     Returns the absolute path to the AnchorHub directory. Will be used to run
#     tests using folders located within the AnchorHub root.
# 
#     :return: String path to AnchorHub directory
#     """
#     return path.abspath(path.dirname(anchorhub.__file__))
# 
# Path: anchorhub/compatibility.py
# def get_path_separator():
#     """
#     Returns the appropriate file path separator depending on operating
#     system. That is, when run on UNIX-like systems it returns a forward slash
#     ('/'), and for Windows it returns a backslash ('\')
#     :return: String. The file path separator for the current operating system.
#     """
#     if os.name == 'nt':
#         return '\\'
#     else:
#         return '/'


import os.path as path
from anchorhub.util.getanchorhubpath import get_anchorhub_path
from anchorhub.compatibility import get_path_separator
"""
Tests for getanchorhubpath.py

http://www.github.com/samjabrahams/anchorhub/util/getanchorhubpath.py
"""



def test_get_anchorhub_path_directory():
    """
    getanchorhubpath.py: Make sure directory given is named 'anchorhub'
    """

# Path: anchorhub/util/getanchorhubpath.py
# def get_anchorhub_path():
#     """
#     Returns the absolute path to the AnchorHub directory. Will be used to run
#     tests using folders located within the AnchorHub root.
# 
#     :return: String path to AnchorHub directory
#     """
#     return path.abspath(path.dirname(anchorhub.__file__))
# 
# Path: anchorhub/compatibility.py
# def get_path_separator():
#     """
#     Returns the appropriate file path separator depending on operating
#     system. That is, when run on UNIX-like systems it returns a forward slash
#     ('/'), and for Windows it returns a backslash ('\')
#     :return: String. The file path separator for the current operating system.
#     """
#     if os.name == 'nt':
#         return '\\'
#     else:
#         return '/'


# Path: anchorhub/util/tests/test_getanchorhubpath.py
import os.path as path
from anchorhub.util.getanchorhubpath import get_anchorhub_path
from anchorhub.compatibility import get_path_separator

"""
Tests for getanchorhubpath.py

http://www.github.com/samjabrahams/anchorhub/util/getanchorhubpath.py
"""



def test_get_anchorhub_path_directory():
    """
    getanchorhubpath.py: Make sure directory given is named 'anchorhub'
    """

    path = get_anchorhub_path()