# Path: anchorhub/exceptions/validationexception.py
# class ValidationException(Exception):
#     def __init__(self, *args, **kwargs):
#         Exception.__init__(self, *args, **kwargs)


from nose.tools import *
from anchorhub.exceptions.validationexception import ValidationException
import anchorhub.validation.validate_files as v
"""
Tests for validate_files.py

validate_files.py
http://www.github.com/samjabrahams/anchorhub/validation/validate_files.py
"""



def test_is_not_empty_success():
    """
    validate_files.py: Run is_not_empty() with correct inputs
    """
    a = ['/dir/test']
    assert v.is_not_empty(a)



# Path: anchorhub/exceptions/validationexception.py
# class ValidationException(Exception):
#     def __init__(self, *args, **kwargs):
#         Exception.__init__(self, *args, **kwargs)


# Path: anchorhub/validation/tests/test_validate_files.py
from nose.tools import *
from anchorhub.exceptions.validationexception import ValidationException
import anchorhub.validation.validate_files as v

"""
Tests for validate_files.py

validate_files.py
http://www.github.com/samjabrahams/anchorhub/validation/validate_files.py
"""



def test_is_not_empty_success():
    """
    validate_files.py: Run is_not_empty() with correct inputs
    """
    a = ['/dir/test']
    assert v.is_not_empty(a)



@raises(ValidationException)