Example #1
0
 def test_describe_with_from(self):
     operation = AlterStorageEngine("Pony",
                                    from_engine="MyISAM",
                                    to_engine="InnoDB")
     assert operation.describe(
     ) == "Alter storage engine for Pony from MyISAM to InnoDB"
 def test_describe_with_from(self):
     operation = AlterStorageEngine("Pony", from_engine="MyISAM",
                                    to_engine="InnoDB")
     assert (operation.describe() ==
             "Alter storage engine for Pony from MyISAM to InnoDB")
Example #3
0
 def test_describe_without_from(self):
     operation = AlterStorageEngine("Pony", "InnoDB")
     assert operation.describe(
     ) == "Alter storage engine for Pony to InnoDB"
 def test_describe_without_from(self):
     operation = AlterStorageEngine("Pony", "InnoDB")
     assert (operation.describe() ==
             "Alter storage engine for Pony to InnoDB")