@@ -0,0 +1,328 @@
+from mock import MagicMock%0Aimport pyaem%0Aimport unittest%0A%0Aclass TestPyAemException(unittest.TestCase):%0A%0A%0A  def test_init(self):%0A%0A    exception = pyaem.PyAemException(123, 'somemessage')%0A    self.assertEqual(exception.code, 123)%0A    self.assertEqual(exception.message, 'somemessage')%0A%0A%0Aif __name__ == '__main__':%0A  unittest.main()

Add exception test.