def test_read(self):
        start_count = len(self.storage_passwords)
        username = testlib.tmpname()

        p = self.storage_passwords.create("changeme", username)
        self.assertEqual(start_count + 1, len(self.storage_passwords))

        for sp in self.storage_passwords:
            self.assertTrue(self.storage_passwords in p.name)
            # Name works with or without a trailing colon
            self.assertTrue((":" + username + ":") in self.storage_passwords)
            self.assertTrue((":" + username) in self.storage_passwords)

        p.delete()
        self.assertEqual(start_count, len(self.storage_passwords))
dataset/ETHPy150Open splunk/splunk-sdk-python/tests/test_storage_passwords.py/Tests.test_read/swapped operands of `in`