def test_hostname_and_os(self):
     self.assertEquals(
         bacula_tools.guess_schedule_and_filesets("fred.ocs.example.com", "Windows"),
         [("SetOnHostGZIP", "Weekly"), ("WinFullGZIP", "Weekly")],
     )
     return
 def test_hostname(self):
     self.assertEquals(
         bacula_tools.guess_schedule_and_filesets("origin31.example.com", "BSD"),
         [("SetOnHostGZIP", "CustomHost"), ("XferLogs", "FtpHosts")],
     )
     return
 def test_os(self):
     self.assertEquals(bacula_tools.guess_schedule_and_filesets("localhost", "Windows"), [("WinFullGZIP", "Weekly")])
     return
 def test_default(self):
     self.assertEquals(bacula_tools.guess_schedule_and_filesets("localhost", "BSD"), bacula_tools.default_rules)
     return
 def test_hostname_and_os(self):
     self.assertEquals(
         bacula_tools.guess_schedule_and_filesets('fred.ocs.example.com',
                                                  'Windows'),
         [('SetOnHostGZIP', 'Weekly'), ('WinFullGZIP', 'Weekly')])
     return
 def test_os(self):
     self.assertEquals(
         bacula_tools.guess_schedule_and_filesets('localhost', 'Windows'),
         [('WinFullGZIP', 'Weekly')])
     return
 def test_hostname(self):
     self.assertEquals(
         bacula_tools.guess_schedule_and_filesets('origin31.example.com',
                                                  'BSD'),
         [('SetOnHostGZIP', 'CustomHost'), ('XferLogs', 'FtpHosts')])
     return
 def test_default(self):
     self.assertEquals(
         bacula_tools.guess_schedule_and_filesets('localhost', 'BSD'),
         bacula_tools.default_rules)
     return