@@ -50,7 +50,7 @@ async def test_remote_repository_analysis(request: pytest.FixtureRequest) -> Non
5050 client = request .getfixturevalue ("test_client" )
5151 form_data = {
5252 "input_text" : "https://github.com/octocat/Hello-World" ,
53- "max_file_size" : " 243" ,
53+ "max_file_size" : 243 ,
5454 "pattern_type" : "exclude" ,
5555 "pattern" : "" ,
5656 "token" : "" ,
@@ -75,7 +75,7 @@ async def test_invalid_repository_url(request: pytest.FixtureRequest) -> None:
7575 client = request .getfixturevalue ("test_client" )
7676 form_data = {
7777 "input_text" : "https://github.com/nonexistent/repo" ,
78- "max_file_size" : " 243" ,
78+ "max_file_size" : 243 ,
7979 "pattern_type" : "exclude" ,
8080 "pattern" : "" ,
8181 "token" : "" ,
@@ -97,7 +97,7 @@ async def test_large_repository(request: pytest.FixtureRequest) -> None:
9797 # TODO: ingesting a large repo take too much time (eg: godotengine/godot repository)
9898 form_data = {
9999 "input_text" : "https://github.com/octocat/hello-world" ,
100- "max_file_size" : "10" ,
100+ "max_file_size" : 10 ,
101101 "pattern_type" : "exclude" ,
102102 "pattern" : "" ,
103103 "token" : "" ,
@@ -122,7 +122,7 @@ async def test_concurrent_requests(request: pytest.FixtureRequest) -> None:
122122 def make_request () -> None :
123123 form_data = {
124124 "input_text" : "https://github.com/octocat/hello-world" ,
125- "max_file_size" : " 243" ,
125+ "max_file_size" : 243 ,
126126 "pattern_type" : "exclude" ,
127127 "pattern" : "" ,
128128 "token" : "" ,
@@ -149,7 +149,7 @@ async def test_large_file_handling(request: pytest.FixtureRequest) -> None:
149149 client = request .getfixturevalue ("test_client" )
150150 form_data = {
151151 "input_text" : "https://github.com/octocat/Hello-World" ,
152- "max_file_size" : "1" ,
152+ "max_file_size" : 1 ,
153153 "pattern_type" : "exclude" ,
154154 "pattern" : "" ,
155155 "token" : "" ,
@@ -172,7 +172,7 @@ async def test_repository_with_patterns(request: pytest.FixtureRequest) -> None:
172172 client = request .getfixturevalue ("test_client" )
173173 form_data = {
174174 "input_text" : "https://github.com/octocat/Hello-World" ,
175- "max_file_size" : " 243" ,
175+ "max_file_size" : 243 ,
176176 "pattern_type" : "include" ,
177177 "pattern" : "*.md" ,
178178 "token" : "" ,
0 commit comments