From ae2b1c3fc25866fdc13ef33fc98ed48d709dc272 Mon Sep 17 00:00:00 2001
From: Einar Forselv <eforselv@gmail.com>
Date: Wed, 17 Apr 2019 01:18:49 +0200
Subject: [PATCH] Ensure volumes without filters are returned

---
 tests/tests.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/tests.py b/tests/tests.py
index 79fbd37..cee92b3 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -78,6 +78,8 @@ class ResticBackupTests(unittest.TestCase):
             result = RunningContainers()
             self.assertEqual(len(result.containers), 3, msg="Three containers expected")
             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):
         containers = self.createContainers()