Skip to content

Commit

Permalink
Merge branch 'tushar3q34:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
PixlatedBatman authored Sep 2, 2024
2 parents 6b4a893 + 4fc4278 commit 52d4847
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

def generate(encoding):
pass # should return a formatted string which reads the input
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
beautifulsoup==4.12.3
selenium==4.24.0
8 changes: 8 additions & 0 deletions test_parser.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
from scraper import *
import pytest
from problem_parser import *
from generator import generate

def setup_testcases(p):
generate(check_all(p.input))
for test in p.tests:
test.input


def test_scraper():
p = Problem("1980","G")
try:
p.input

except:
pytest.fail("Scraper could not fetch")

Expand Down

0 comments on commit 52d4847

Please sign in to comment.