def testTooFewArgumentsFails(self):
    # No arguments for get, but valid subcommand.
    stderr = self.RunGsUtil(self._get_web_cmd, return_stderr=True,
                            expected_status=1)
    self.assertIn('command requires at least', stderr)

    # No arguments for set, but valid subcommand.
    stderr = self.RunGsUtil(self._set_web_cmd, return_stderr=True,
                            expected_status=1)
    self.assertIn('command requires at least', stderr)

    # Neither arguments nor subcommand.
    stderr = self.RunGsUtil(['web'], return_stderr=True, expected_status=1)
    self.assertIn('command requires at least', stderr)
Calculate an I/O based load by counting I/O heavy operations.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/test_web.py/TestWeb.testTooFewArgumentsFails--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/compute/stats.py/Stats.io_workload