@@ -0,0 +1,645 @@
+#!/usr/bin/env python%0A%0A# pylint: disable=protected-access%0A# pylint: disable=too-many-public-methods%0A# pylint: disable=missing-docstring%0A%0Afrom __future__ import absolute_import%0Aimport sys%0A%0Aimport mock%0A%0Aimport unittest%0A%0Afrom den import __main__%0A%0A%0Aclass MainTestCase(unittest.TestCase):%0A%0A    def test_weather(self):%0A        with mock.patch.object(sys, %22argv%22, %22prog test weather%22.split()), %5C%0A             mock.patch(%22den.weather.record%22, autospec=True) as record_mock:%0A            __main__.main()%0A            record_mock.assert_called_once_with('test', 8086, False, '', 39.9528, 75.1638)%0A%0A%0Aif __name__ == %22__main__%22:%0A    unittest.main(verbosity=2)%0A

Add simple main test.