"""
test_perma_base.py
  tests of the perma_base component of permamodel
"""

from permamodel.components import frost_number
import os
import numpy as np
from .. import permamodel_directory, data_directory, examples_directory

def test_directory_names_are_set():
    assert(permamodel_directory is not None)


"""
test_perma_base.py
  tests of the perma_base component of permamodel
"""

import os
from nose.tools import assert_true
from .. import (permamodel_directory, data_directory,
                examples_directory, tests_directory)


def test_permamodel_directory_is_set():
    assert(permamodel_directory is not None)


def test_data_directory_is_set():
    assert(data_directory is not None)


def test_examples_directory_is_set():
    assert(examples_directory is not None)


def test_tests_directory_is_set():
    assert(tests_directory is not None)


def test_permamodel_directory_exists():
    assert_true(os.path.isdir(permamodel_directory))


def test_data_directory_exists():
    assert_true(os.path.isdir(data_directory))


def test_examples_directory_exists():
    assert_true(os.path.isdir(examples_directory))


def test_tests_directory_exists():
    assert_true(os.path.isdir(tests_directory))

Add unit tests for all package directories
Add unit tests for all package directories
