From a12b01cb8bde5e9404371e481ea3f41e0b9e1d4c Mon Sep 17 00:00:00 2001 From: Siddharth Dushantha Date: Thu, 16 Feb 2023 19:34:50 +0100 Subject: [PATCH] fixed tests We had removed the username_unclaimed from data.json but forgotten to remove it from the tests --- sherlock/tests/base.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sherlock/tests/base.py b/sherlock/tests/base.py index 66372495..be87ceee 100644 --- a/sherlock/tests/base.py +++ b/sherlock/tests/base.py @@ -216,10 +216,7 @@ class SherlockBaseTest(unittest.TestCase): site_no_tests_list = [] for site, site_data in self.site_data_all.items(): - if ( - (site_data.get("username_claimed") is None) or - (site_data.get("username_unclaimed") is None) - ): + if site_data.get("username_claimed") is None: # Test information not available on this site. site_no_tests_list.append(site)