[Pkg-ganeti-devel] [ganeti] 13/165: Remove unittest assuming file disks are not exportable

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Aug 11 13:53:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository ganeti.

commit 699c10c68fe65ff2143e3c202cac73e64384bed0
Author: Aaron Karper <akarper at google.com>
Date:   Wed Oct 29 16:40:29 2014 +0100

    Remove unittest assuming file disks are not exportable
    
    Signed-off-by: Aaron Karper <akarper at google.com>
    Reviewed-by: Hrvoje Ribicic <riba at google.com>
---
 test/py/cmdlib/backup_unittest.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/test/py/cmdlib/backup_unittest.py b/test/py/cmdlib/backup_unittest.py
index b33fabe..27b4a8a 100644
--- a/test/py/cmdlib/backup_unittest.py
+++ b/test/py/cmdlib/backup_unittest.py
@@ -119,13 +119,6 @@ class TestLUBackupExportBase(CmdlibTestCase):
     self.ExecOpCodeExpectOpPrereqError(
       op, "Can not remove instance without shutting it down before")
 
-  def testUnsupportedDiskTemplate(self):
-    inst = self.cfg.AddNewInstance(disk_template=constants.DT_FILE)
-    op = opcodes.OpBackupExport(instance_name=inst.name,
-                                target_node=self.master.name)
-    self.ExecOpCodeExpectOpPrereqError(
-      op, "Export not supported for instances with file-based disks")
-
 
 class TestLUBackupExportLocalExport(TestLUBackupExportBase):
   def setUp(self):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git



More information about the Pkg-ganeti-devel mailing list