Index: tests/parsers/winreg_plugins/network_drives.py |
diff --git a/tests/parsers/winreg_plugins/network_drives.py b/tests/parsers/winreg_plugins/network_drives.py |
index 8bf2c22661a407ce7856773f8db3051303ba0b3d..449b9d81b8ef76f17f4f88a944fecd0bfc842a59 100644 |
--- a/tests/parsers/winreg_plugins/network_drives.py |
+++ b/tests/parsers/winreg_plugins/network_drives.py |
@@ -133,6 +133,14 @@ class NetworkDrivesPluginTest(test_lib.RegistryPluginTestCase): |
return registry_key |
+ def testFilters(self): |
+ """Tests the FILTERS class attribute.""" |
+ plugin = network_drives.NetworkDrivesPlugin() |
+ |
+ self._AssertFiltersOnKeyPath(plugin, 'HKEY_CURRENT_USER\\Network') |
+ |
+ self._AssertNotFiltersOnKeyPath(plugin, 'HKEY_LOCAL_MACHINE\\Bogus') |
+ |
def testProcess(self): |
"""Tests the Process function on created key.""" |
key_path = 'HKEY_CURRENT_USER\\Network' |