<filename>microproxy/test/context/test_layer.py<gh_stars>10-100
import unittest
from microproxy.context import LayerContext


class TestLayerContext(unittest.TestCase):
    def test_invalid_mode(self):
        with self.assertRaises(ValueError):
            LayerContext(mode="test")

<filename>microproxy/test/context/test_layer.py<gh_stars>10-100
import unittest
from microproxy.context import LayerContext


class TestLayerContext(unittest.TestCase):
    def test_invalid_mode(self):
        with self.assertRaises(ValueError):
            LayerContext(mode="test")
