From 0f537c888dbad48854477fe229b8bddc07ac0d57 Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Wed, 3 May 2023 15:49:47 +0100 Subject: [PATCH] test(block): remove old test case for external we use json now --- tests/block/test_block_external.py | 53 ------------------------------ 1 file changed, 53 deletions(-) delete mode 100644 tests/block/test_block_external.py diff --git a/tests/block/test_block_external.py b/tests/block/test_block_external.py deleted file mode 100644 index f005048..0000000 --- a/tests/block/test_block_external.py +++ /dev/null @@ -1,53 +0,0 @@ -import unittest - -from app.terraform.block_external import BlockExternalAutomation - - -class TestBlockExternalAutomation(unittest.TestCase): - def test_parse(self): - content = b""" - - - - - - - - Mirrors Availability - - -
-
-
-

RFE/RL Mirror Sites Availability

-

Farajaland

-

Updated at 2023-03-30 15:46:03 CET

-
- - - - - - - - - - - - - - - -
ServiceHostnameError
example.comexample.netConnection Error
-
-
-
-
- - - - """ - block_external = BlockExternalAutomation() - block_external._content = content - block_external.parse() - self.assertEqual(block_external.patterns, ['https://example.net'])