Index: tests/parsers/winreg_plugins/mountpoints.py |
diff --git a/tests/parsers/winreg_plugins/mountpoints.py b/tests/parsers/winreg_plugins/mountpoints.py |
index 5ced7ff1bc1d0a8797f355c48432aadfddd3871d..ad87c66537ef8f130b4dad76af1281c7742a9987 100644 |
--- a/tests/parsers/winreg_plugins/mountpoints.py |
+++ b/tests/parsers/winreg_plugins/mountpoints.py |
@@ -17,6 +17,17 @@ from tests.parsers.winreg_plugins import test_lib |
class MountPoints2PluginTest(test_lib.RegistryPluginTestCase): |
"""Tests for the MountPoints2 Windows Registry plugin.""" |
+ def testFilters(self): |
+ """Tests the FILTERS class attribute.""" |
+ plugin = mountpoints.MountPoints2Plugin() |
+ |
+ key_path = ( |
+ 'HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\' |
+ 'Explorer\\MountPoints2') |
+ self._AssertFiltersOnKeyPath(plugin, key_path) |
+ |
+ self._AssertNotFiltersOnKeyPath(plugin, 'HKEY_LOCAL_MACHINE\\Bogus') |
+ |
@shared_test_lib.skipUnlessHasTestFile(['NTUSER-WIN7.DAT']) |
def testProcess(self): |
"""Tests the Process function.""" |