aboutsummaryrefslogtreecommitdiff
path: root/tests/test_neuralNetwork.py
blob: dfcbd7a7cfb6a201f46046ec438d84a511ef3386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Tests for neural network module."""

import unittest

from imago.engine.keras.neuralNetwork import NeuralNetwork

class TestNeuralNetwork(unittest.TestCase):
    """Test neural network module."""

    def testLoadBaseClass(self):
        """Test error when creating model with the base NeuralNetwork class"""

        self.assertRaises(NotImplementedError,
                          NeuralNetwork,
                          "non/existing/file")