@@ -0,0 +1,920 @@
+%22%22%22test profile module.%22%22%22%0Atry:  # py3%0A    from unittest import mock%0Aexcept ImportError:  # py2%0A    import mock%0A%0Aimport pytest%0A%0A%0Adef test_import():%0A    %22%22%22test normal import.%0A%0A    the error happened because%0A    module run the profile populator in testing mode.%0A    in profile_populator it need IO where it disable on testing.%0A    %22%22%22%0A    with pytest.raises(IOError):%0A        from melissa import profile  # NOQA%0A%0A%0Adef test_import_with_mock_profile_populator():%0A    %22%22%22test importing but mock some obj.%0A%0A    the error happened because%0A    module run load_profile after run mocked profile_populator func.%0A    because it is not exist IOError is raised.%0A    %22%22%22%0A    with mock.patch(%0A            'melissa.profile_populator.profile_populator') %5C%0A            as mock_profile_populator:%0A        with pytest.raises(IOError):%0A            from melissa import profile  # NOQA%0A        mock_profile_populator.assert_called_once_with()%0A

add test for profile module.