def test_command_basics_auto(self): c = CmdArchiveExtract(ArchiveFormat.auto()) assert c.validate() assert "archive.auto_extract" == command_name(c)
def test_command_basics_tar(self): c = CmdArchiveExtract(ArchiveFormat.tar()) assert c.validate() assert "archive.targz_extract" == command_name(c)