Karim shoair commited on
Commit ·
8167bac
1
Parent(s): c14fc62
Renaming fetchers tests folder for readability
Browse files
tests/{test_fetchers → fetchers}/__init__.py
RENAMED
|
File without changes
|
tests/{test_fetchers/test_stealthy_fetcher.py → fetchers/test_camoufox.py}
RENAMED
|
@@ -6,10 +6,9 @@ from scrapling import StealthyFetcher
|
|
| 6 |
|
| 7 |
@pytest_httpbin.use_class_based_httpbin
|
| 8 |
# @pytest_httpbin.use_class_based_httpbin_secure
|
| 9 |
-
class
|
| 10 |
def setUp(self):
|
| 11 |
self.fetcher = StealthyFetcher(auto_match=False)
|
| 12 |
-
# httpsbin = self.httpbin_secure.url
|
| 13 |
url = self.httpbin.url
|
| 14 |
self.status_200 = f'{url}/status/200'
|
| 15 |
self.status_404 = f'{url}/status/404'
|
|
|
|
| 6 |
|
| 7 |
@pytest_httpbin.use_class_based_httpbin
|
| 8 |
# @pytest_httpbin.use_class_based_httpbin_secure
|
| 9 |
+
class TestStealthyFetcher(unittest.TestCase):
|
| 10 |
def setUp(self):
|
| 11 |
self.fetcher = StealthyFetcher(auto_match=False)
|
|
|
|
| 12 |
url = self.httpbin.url
|
| 13 |
self.status_200 = f'{url}/status/200'
|
| 14 |
self.status_404 = f'{url}/status/404'
|