from framewirc import exceptions


class MissingAttributesTest:
    def test_message(self):
        attrs = ['some', 'attrs']
        expected = 'Required attribute(s) missing: {}'.format(attrs)

        exception = exceptions.MissingAttributes(attrs)

        assert str(exception) == expected

from framewirc import exceptions


def test_message():
    attrs = ['some', 'attrs']
    expected = 'Required attribute(s) missing: {}'.format(attrs)

    exception = exceptions.MissingAttributes(attrs)

    assert str(exception) == expected

Fix test that wasn't running
Fix test that wasn't running

  from framewirc import exceptions
  
  
- class MissingAttributesTest:
-     def test_message(self):
+ def test_message():
-         attrs = ['some', 'attrs']
+     attrs = ['some', 'attrs']
-         expected = 'Required attribute(s) missing: {}'.format(attrs)
+     expected = 'Required attribute(s) missing: {}'.format(attrs)
  
-         exception = exceptions.MissingAttributes(attrs)
+     exception = exceptions.MissingAttributes(attrs)
  
-         assert str(exception) == expected
+     assert str(exception) == expected
  
Fix test that wasn't running
## Code Before:
from framewirc import exceptions


class MissingAttributesTest:
    def test_message(self):
        attrs = ['some', 'attrs']
        expected = 'Required attribute(s) missing: {}'.format(attrs)

        exception = exceptions.MissingAttributes(attrs)

        assert str(exception) == expected

## Instruction:
Fix test that wasn't running
## Code After:
from framewirc import exceptions


def test_message():
    attrs = ['some', 'attrs']
    expected = 'Required attribute(s) missing: {}'.format(attrs)

    exception = exceptions.MissingAttributes(attrs)

    assert str(exception) == expected
