Test case-1: To check whether the directory exists, if not create it
Location: module_4/test_conditions.py . Lines: 50-53.
Example in code: lines 41, 42, 44, 45 of run.py
Test case-2: To check whether the file exists, if not create it
Location: module_4/test_conditions.py . Lines: 57-60.
Example in code: line 43 of run.py
Test case-3: To check entries located in the text file for proper delimiter
Location: module_4/test_conditions.py . Lines: 65-75.
Example in code: line 49 of run.py
Test case-4: To check whether the entries are a proper URL
Location: module_4/test_conditions.py . Lines: 79-84.
Example in code: line 50 of run.py
Test case-5 To check whether the URL has supported functionality via domain
Location: module_4/test_conditions.py . Lines: 88-93.
Example in code: line 51 of run.py
Test case-6: A check to make sure that the URL gets assigned the correct scraper
Location: module_4/test_conditions.py . Lines: 97-102.
Example in code: line 61 of run.py
Test case-7: To check whether the article length meets the threshold to be sent to OpenAI
Location: module_4/test_conditions.py . Lines: 107-113.
Example in code: line 72 of run.py
Test case-8: To check whether the OpenAI response is empty
Location: module_4/test_conditions.py . Lines: 118-120.
Example in code: line 63 of OPENAI_processing.py
Test case-9: To check whether the OpenAI response shows signs of hallucination
Location: module_4/test_conditions.py . Lines: 125-129.
Example in code: line 59 of OPENAI_processing.py
Test case-1: To check whether the directory exists, if not create it Location: module_4/test_conditions.py . Lines: 50-53. Example in code: lines 41, 42, 44, 45 of run.py
Test case-2: To check whether the file exists, if not create it Location: module_4/test_conditions.py . Lines: 57-60. Example in code: line 43 of run.py
Test case-3: To check entries located in the text file for proper delimiter Location: module_4/test_conditions.py . Lines: 65-75. Example in code: line 49 of run.py
Test case-4: To check whether the entries are a proper URL Location: module_4/test_conditions.py . Lines: 79-84. Example in code: line 50 of run.py
Test case-5 To check whether the URL has supported functionality via domain Location: module_4/test_conditions.py . Lines: 88-93. Example in code: line 51 of run.py
Test case-6: A check to make sure that the URL gets assigned the correct scraper Location: module_4/test_conditions.py . Lines: 97-102. Example in code: line 61 of run.py
Test case-7: To check whether the article length meets the threshold to be sent to OpenAI Location: module_4/test_conditions.py . Lines: 107-113. Example in code: line 72 of run.py
Test case-8: To check whether the OpenAI response is empty Location: module_4/test_conditions.py . Lines: 118-120. Example in code: line 63 of OPENAI_processing.py
Test case-9: To check whether the OpenAI response shows signs of hallucination Location: module_4/test_conditions.py . Lines: 125-129. Example in code: line 59 of OPENAI_processing.py