from ..brewer import settings
import unittest


# This is mostly useless, just for peace of mind
class SettingsTestCase(unittest.TestCase):

    def test_port(self):
        assert isinstance(settings.port, str)

    def test_addresses(self):
        assert isinstance(settings.rimsAddress, int)
        assert isinstance(settings.switchAddress, int)

    def test_baudrate(self):
        assert isinstance(settings.baudRate, int)

    def test_timeout(self):
        assert isinstance(settings.timeout, float)

    def test_bytes(self):
        assert isinstance(settings.MA0, str)
        assert isinstance(settings.MA1, str)
        assert isinstance(settings.MAE, str)
        assert isinstance(settings.CN, str)

    def test_relays(self):
        for name, relay in settings.relays.items():
            assert isinstance(name, str)
            assert isinstance(relay, int)

    def test_debug(self):
        assert isinstance(settings.DEBUG, bool)

6f9a427ab081285f23579d9ca82c33f258f804aa
<mask token>


class SettingsTestCase(unittest.TestCase):

    def test_port(self):
        assert isinstance(settings.port, str)
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def test_relays(self):
        for name, relay in settings.relays.items():
            assert isinstance(name, str)
            assert isinstance(relay, int)
    <mask token>

<mask token>


class SettingsTestCase(unittest.TestCase):

    def test_port(self):
        assert isinstance(settings.port, str)
    <mask token>

    def test_baudrate(self):
        assert isinstance(settings.baudRate, int)
    <mask token>
    <mask token>

    def test_relays(self):
        for name, relay in settings.relays.items():
            assert isinstance(name, str)
            assert isinstance(relay, int)
    <mask token>

<mask token>


class SettingsTestCase(unittest.TestCase):

    def test_port(self):
        assert isinstance(settings.port, str)

    def test_addresses(self):
        assert isinstance(settings.rimsAddress, int)
        assert isinstance(settings.switchAddress, int)

    def test_baudrate(self):
        assert isinstance(settings.baudRate, int)
    <mask token>
    <mask token>

    def test_relays(self):
        for name, relay in settings.relays.items():
            assert isinstance(name, str)
            assert isinstance(relay, int)

    def test_debug(self):
        assert isinstance(settings.DEBUG, bool)

<mask token>


class SettingsTestCase(unittest.TestCase):

    def test_port(self):
        assert isinstance(settings.port, str)

    def test_addresses(self):
        assert isinstance(settings.rimsAddress, int)
        assert isinstance(settings.switchAddress, int)

    def test_baudrate(self):
        assert isinstance(settings.baudRate, int)
    <mask token>

    def test_bytes(self):
        assert isinstance(settings.MA0, str)
        assert isinstance(settings.MA1, str)
        assert isinstance(settings.MAE, str)
        assert isinstance(settings.CN, str)

    def test_relays(self):
        for name, relay in settings.relays.items():
            assert isinstance(name, str)
            assert isinstance(relay, int)

    def test_debug(self):
        assert isinstance(settings.DEBUG, bool)

from ..brewer import settings
import unittest


# This is mostly useless, just for peace of mind
class SettingsTestCase(unittest.TestCase):

    def test_port(self):
        assert isinstance(settings.port, str)

    def test_addresses(self):
        assert isinstance(settings.rimsAddress, int)
        assert isinstance(settings.switchAddress, int)

    def test_baudrate(self):
        assert isinstance(settings.baudRate, int)

    def test_timeout(self):
        assert isinstance(settings.timeout, float)

    def test_bytes(self):
        assert isinstance(settings.MA0, str)
        assert isinstance(settings.MA1, str)
        assert isinstance(settings.MAE, str)
        assert isinstance(settings.CN, str)

    def test_relays(self):
        for name, relay in settings.relays.items():
            assert isinstance(name, str)
            assert isinstance(relay, int)

    def test_debug(self):
        assert isinstance(settings.DEBUG, bool)
