def test_command_raises_error_when_manifest_doesnt_exist(self, read_manifest_mock): with self.assertRaises(CommandError): execute_command('deleteredundantstatic', '--noinput')