@@ -0,0 +1,941 @@
+import unittest%0Aimport os%0Aimport subprocess%0A%0AHERE = os.path.abspath(os.path.dirname(__file__))%0A%0A%0Aclass TestInsightsCliMain(unittest.TestCase):%0A    @classmethod%0A    def setUpClass(self):%0A        self.path = os.path.join(HERE, %22insights_heartbeat.tar.gz%22)%0A        self.insights_cli = 'insights-cli'%0A%0A    @classmethod%0A    def tearDownClass(self):%0A        pass%0A%0A    def test_main(self):%0A        cmd = %5Bself.insights_cli, '--plugin-modules', 'falafel.plugins', '-v', '--', self.path%5D%0A%0A        try:%0A            subprocess.check_call(cmd)%0A        except subprocess.CalledProcessError:%0A            self.fail(%22Failed to run insights-cli succesfully, test_main() %22%0A                      %22raised subprocess.CalledProcessError unexpectedly!.%22)%0A%0A    def test_plugin_module_option_fail(self):%0A        cmd = %5Bself.insights_cli, '--plugin-modules', '-v', '--', self.path%5D%0A        self.assertRaises(subprocess.CalledProcessError, subprocess.check_call, cmd)%0A

Add insights-cli test cases.