[test-API PATCH 3/3] repo: cleanup clean functions that are not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 repos/domain/attach_disk.py                        |    4 ----
 repos/domain/autostart.py                          |    4 ----
 repos/domain/balloon_memory.py                     |    4 ----
 repos/domain/blkstats.py                           |    4 ----
 repos/domain/console_mutex.py                      |    4 ----
 repos/domain/cpu_affinity.py                       |    4 ----
 repos/domain/cpu_topology.py                       |    5 -----
 repos/domain/define.py                             |    4 ----
 repos/domain/destroy.py                            |    4 ----
 repos/domain/detach_disk.py                        |    4 ----
 repos/domain/eventhandler.py                       |    4 ----
 repos/domain/ifstats.py                            |    4 ----
 repos/domain/install_linux_check.py                |    5 -----
 repos/domain/restore.py                            |    4 ----
 repos/domain/resume.py                             |    4 ----
 repos/domain/shutdown.py                           |    4 ----
 repos/domain/start.py                              |    4 ----
 repos/domain/suspend.py                            |    4 ----
 repos/domain/undefine.py                           |    4 ----
 repos/libvirtd/restart.py                          |    5 -----
 .../multiple_thread_block_on_domain_create.py      |   14 --------------
 repos/snapshot/delete.py                           |    4 ----
 repos/snapshot/file_flag.py                        |    4 ----
 repos/snapshot/flag_check.py                       |    4 ----
 repos/snapshot/internal_create.py                  |    4 ----
 repos/snapshot/revert.py                           |    5 -----
 repos/snapshot/snapshot_list.py                    |    5 -----
 repos/storage/build_dir_pool.py                    |    3 ---
 28 files changed, 0 insertions(+), 126 deletions(-)

diff --git a/repos/domain/attach_disk.py b/repos/domain/attach_disk.py
index 4385df7..9d8426d 100644
--- a/repos/domain/attach_disk.py
+++ b/repos/domain/attach_disk.py
@@ -99,7 +99,3 @@ def attach_disk(params):
         return 1
 
     return 0
-
-def attach_disk_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/autostart.py b/repos/domain/autostart.py
index 930a04b..1906706 100644
--- a/repos/domain/autostart.py
+++ b/repos/domain/autostart.py
@@ -73,7 +73,3 @@ def autostart(params):
         return 1
 
     return 0
-
-def autostart_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/balloon_memory.py b/repos/domain/balloon_memory.py
index 7cef074..25b8318 100644
--- a/repos/domain/balloon_memory.py
+++ b/repos/domain/balloon_memory.py
@@ -259,7 +259,3 @@ def balloon_memory(params):
     if count:
         return 1
     return 0
-
-def balloon_memory_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/blkstats.py b/repos/domain/blkstats.py
index 1500a1a..a208887 100644
--- a/repos/domain/blkstats.py
+++ b/repos/domain/blkstats.py
@@ -66,7 +66,3 @@ def blkstats(params):
         return 1
 
     return 0
-
-def blkstats_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/console_mutex.py b/repos/domain/console_mutex.py
index 409861b..c67aec6 100644
--- a/repos/domain/console_mutex.py
+++ b/repos/domain/console_mutex.py
@@ -87,7 +87,3 @@ def console_mutex(params):
         logger.info("Done")
 
     return ret
-
-def console_mutex_clean(params):
-    """clean testing environment"""
-    pass
diff --git a/repos/domain/cpu_affinity.py b/repos/domain/cpu_affinity.py
index 833cfd2..1332c7e 100644
--- a/repos/domain/cpu_affinity.py
+++ b/repos/domain/cpu_affinity.py
@@ -280,7 +280,3 @@ def cpu_affinity(params):
     if retflag:
         return 1
     return 0
-
-def cpu_affinity_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/cpu_topology.py b/repos/domain/cpu_topology.py
index 2caf919..af41f62 100644
--- a/repos/domain/cpu_topology.py
+++ b/repos/domain/cpu_topology.py
@@ -199,8 +199,3 @@ def cpu_topology(params):
        return 1
 
     return 0
-
-def cpu_topology_clean(params):
-    """clean testing enviorment"""
-    return 0
-
diff --git a/repos/domain/define.py b/repos/domain/define.py
index 29d2c15..9d3b2eb 100644
--- a/repos/domain/define.py
+++ b/repos/domain/define.py
@@ -92,7 +92,3 @@ def define(params):
         return 1
 
     return 0
-
-def define_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/destroy.py b/repos/domain/destroy.py
index 9d71835..c41f0f8 100644
--- a/repos/domain/destroy.py
+++ b/repos/domain/destroy.py
@@ -91,7 +91,3 @@ def destroy(params):
             return 1
 
     return 0
-
-def destroy_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/detach_disk.py b/repos/domain/detach_disk.py
index ddba2ca..1b0b7f9 100644
--- a/repos/domain/detach_disk.py
+++ b/repos/domain/detach_disk.py
@@ -75,7 +75,3 @@ def detach_disk(params):
         return 1
 
     return 0
-
-def detach_disk_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/eventhandler.py b/repos/domain/eventhandler.py
index 1c029eb..4eec6e9 100644
--- a/repos/domain/eventhandler.py
+++ b/repos/domain/eventhandler.py
@@ -241,7 +241,3 @@ def eventhandler(params):
 
     loop_stop(conn)
     return 0
-
-def eventhandler_clean(params):
-    """cleanup the testing environment"""
-    pass
diff --git a/repos/domain/ifstats.py b/repos/domain/ifstats.py
index c809809..dd6c193 100644
--- a/repos/domain/ifstats.py
+++ b/repos/domain/ifstats.py
@@ -81,7 +81,3 @@ def ifstats(params):
         return 1
 
     return 0
-
-def ifstats_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/install_linux_check.py b/repos/domain/install_linux_check.py
index 11f4086..1c27fc1 100644
--- a/repos/domain/install_linux_check.py
+++ b/repos/domain/install_linux_check.py
@@ -180,8 +180,3 @@ def install_linux_check(params):
             return Test_Result
 
     return Test_Result
-
-def install_linux_check_clean(params):
-    """ clean testing environment """
-    pass
-
diff --git a/repos/domain/restore.py b/repos/domain/restore.py
index acc0b9f..ab0900f 100644
--- a/repos/domain/restore.py
+++ b/repos/domain/restore.py
@@ -85,7 +85,3 @@ def restore(params):
         return 1
 
     return 0
-
-def restore_clean(params):
-    """ clean the testing environment """
-    pass
diff --git a/repos/domain/resume.py b/repos/domain/resume.py
index 6110f28..85237f7 100644
--- a/repos/domain/resume.py
+++ b/repos/domain/resume.py
@@ -57,7 +57,3 @@ def resume(params):
 
     logger.info("PASS")
     return 0
-
-def resume_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/shutdown.py b/repos/domain/shutdown.py
index 33a6153..3b97abc 100644
--- a/repos/domain/shutdown.py
+++ b/repos/domain/shutdown.py
@@ -69,7 +69,3 @@ def shutdown(params):
         logger.info("domain %s shutdown successfully" % domname)
 
     return 0
-
-def shutdown_clean(params):
-    """ clean the testing environment """
-    pass
diff --git a/repos/domain/start.py b/repos/domain/start.py
index 3bddfe5..f319c2e 100644
--- a/repos/domain/start.py
+++ b/repos/domain/start.py
@@ -96,7 +96,3 @@ def start(params):
 
     logger.info("PASS")
     return 0
-
-def start_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/suspend.py b/repos/domain/suspend.py
index 32295ea..1941b1c 100644
--- a/repos/domain/suspend.py
+++ b/repos/domain/suspend.py
@@ -61,7 +61,3 @@ def suspend(params):
 
     logger.info('PASS')
     return 0
-
-def suspend_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/domain/undefine.py b/repos/domain/undefine.py
index 465b5d1..4b1bc20 100644
--- a/repos/domain/undefine.py
+++ b/repos/domain/undefine.py
@@ -43,7 +43,3 @@ def undefine(params):
         return 1
 
     return 0
-
-def undefine_clean(params):
-    """ clean testing environment """
-    pass
diff --git a/repos/libvirtd/restart.py b/repos/libvirtd/restart.py
index 40f5a01..04efa8a 100644
--- a/repos/libvirtd/restart.py
+++ b/repos/libvirtd/restart.py
@@ -142,8 +142,3 @@ def restart(params):
                      libvirtd restart" % guestname)
 
     return 0
-
-def restart_clean(params):
-    """ clean testing environment """
-    pass
-
diff --git a/repos/regression/multiple_thread_block_on_domain_create.py b/repos/regression/multiple_thread_block_on_domain_create.py
index 2672ff7..38030c2 100644
--- a/repos/regression/multiple_thread_block_on_domain_create.py
+++ b/repos/regression/multiple_thread_block_on_domain_create.py
@@ -147,17 +147,3 @@ def multiple_thread_block_on_domain_create(params):
 
     conn.close()
     return 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/repos/snapshot/delete.py b/repos/snapshot/delete.py
index 8942db8..c018cdb 100644
--- a/repos/snapshot/delete.py
+++ b/repos/snapshot/delete.py
@@ -76,7 +76,3 @@ def delete(params):
         return 1
 
     return 0
-
-def delete_clean(params):
-    """ clean testing environment """
-    return 0
diff --git a/repos/snapshot/file_flag.py b/repos/snapshot/file_flag.py
index c209b79..4d88416 100644
--- a/repos/snapshot/file_flag.py
+++ b/repos/snapshot/file_flag.py
@@ -88,7 +88,3 @@ def file_flag(params):
         logger.info("making flag in guest %s succeeded" % guestname)
 
     return 0
-
-def file_flag_clean(params):
-    """ clean testing environment """
-    return 0
diff --git a/repos/snapshot/flag_check.py b/repos/snapshot/flag_check.py
index af4c16b..7bdc14c 100644
--- a/repos/snapshot/flag_check.py
+++ b/repos/snapshot/flag_check.py
@@ -88,7 +88,3 @@ def flag_check(params):
         return 0
 
     return 0
-
-def flag_check_clean(params):
-    """ clean testing environment """
-    return 0
diff --git a/repos/snapshot/internal_create.py b/repos/snapshot/internal_create.py
index a83be57..20f9bbb 100644
--- a/repos/snapshot/internal_create.py
+++ b/repos/snapshot/internal_create.py
@@ -77,7 +77,3 @@ def internal_create(params):
         return 1
 
     return 0
-
-def internal_create_clean(params):
-    """ clean testing environment """
-    return 0
diff --git a/repos/snapshot/revert.py b/repos/snapshot/revert.py
index 6c8a3e1..d1820bf 100644
--- a/repos/snapshot/revert.py
+++ b/repos/snapshot/revert.py
@@ -50,8 +50,3 @@ def revert(params):
         return 1
 
     return 0
-
-def revert_clean(params):
-    """ clean testing environment """
-    return 0
-
diff --git a/repos/snapshot/snapshot_list.py b/repos/snapshot/snapshot_list.py
index d9628c0..cbd68a8 100644
--- a/repos/snapshot/snapshot_list.py
+++ b/repos/snapshot/snapshot_list.py
@@ -60,8 +60,3 @@ def snapshot_list(params):
                               virsh snapshot_list" % snapshot_name)
                 return 1
     return 0
-
-def snapshot_list_clean(params):
-    """ clean testing environment """
-    return 0
-
diff --git a/repos/storage/build_dir_pool.py b/repos/storage/build_dir_pool.py
index f6adaca..79ae026 100644
--- a/repos/storage/build_dir_pool.py
+++ b/repos/storage/build_dir_pool.py
@@ -84,6 +84,3 @@ def build_dir_pool(params):
         return 1
 
     return 0
-
-def build_dir_pool_clean(params):
-    pass
-- 
1.7.7.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]