mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 14:45:23 +00:00
Ensure volumes without filters are returned
This commit is contained in:
@@ -78,6 +78,8 @@ class ResticBackupTests(unittest.TestCase):
|
|||||||
result = RunningContainers()
|
result = RunningContainers()
|
||||||
self.assertEqual(len(result.containers), 3, msg="Three containers expected")
|
self.assertEqual(len(result.containers), 3, msg="Three containers expected")
|
||||||
self.assertNotEqual(result.this_container, None, msg="No backup container found")
|
self.assertNotEqual(result.this_container, None, msg="No backup container found")
|
||||||
|
web_service = result.get_service('web')
|
||||||
|
self.assertEqual(len(web_service.filter_mounts()), 1)
|
||||||
|
|
||||||
def test_include(self):
|
def test_include(self):
|
||||||
containers = self.createContainers()
|
containers = self.createContainers()
|
||||||
|
Reference in New Issue
Block a user