samba.tests.samba_tool.base: Avoid unnecessary call to testtools.matchers.Contains.