From d2cd023b4eb7f89fb09de2a49a8fae58b73fae92 Mon Sep 17 00:00:00 2001 From: JerrySentry Date: Tue, 21 May 2024 14:43:17 -0400 Subject: [PATCH 1/4] P1 default --- app/integration_tests/test_banker.py | 2 +- app/integrator/banker.py | 2 +- bundle_uploader.sh | 2 +- coverage.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/integration_tests/test_banker.py b/app/integration_tests/test_banker.py index 88a5ffc..8b86b00 100644 --- a/app/integration_tests/test_banker.py +++ b/app/integration_tests/test_banker.py @@ -13,4 +13,4 @@ def test_backdoor(): bank = Banker() assert bank.balance == 0 bank.backdoor() - assert bank.balance == 5007 + assert bank.balance == 5008 diff --git a/app/integrator/banker.py b/app/integrator/banker.py index b712475..bf2fba2 100644 --- a/app/integrator/banker.py +++ b/app/integrator/banker.py @@ -14,6 +14,6 @@ def reset(self): self.balance = 0 def backdoor(self): - self.balance += 5007 + self.balance += 5008 # test diff --git a/bundle_uploader.sh b/bundle_uploader.sh index f48a997..9d833df 100755 --- a/bundle_uploader.sh +++ b/bundle_uploader.sh @@ -4,7 +4,7 @@ # RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token 81325051-5f42-4415-87e8-692a640de455" --data '{"branch": "mar13_1", "commit": "71dd2ba7f9b84d2de38400620389459bc8f2bed7", "slug": "JerrySentry::::LocalDev"}' https://stage-api.codecov.dev/upload/bundle_analysis/v1) # local huh 3 -RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token 0418a9ad-f46d-4dd6-9111-b99cdb0b0aa8" --data '{"branch": "main", "commit": "0e07c46cf6a59a8b1876f58577a1962c66036c29", "slug": "JerrySentry::::LocalDev"}' http://localhost:8000/upload/bundle_analysis/v1) +RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token 0418a9ad-f46d-4dd6-9111-b99cdb0b0aa8" --data '{"branch": "main", "commit": "f9f921e1f26af8342ad19c561fd4517938123829", "slug": "JerrySentry::::LocalDev"}' http://localhost:8000/upload/bundle_analysis/v1) echo $RES diff --git a/coverage.xml b/coverage.xml index ad74604..f1228ea 100644 --- a/coverage.xml +++ b/coverage.xml @@ -1,5 +1,5 @@ - + From 2308458fbad96f03bcf04ee4b0fc3aa880f25fe0 Mon Sep 17 00:00:00 2001 From: JerrySentry Date: Tue, 21 May 2024 21:34:50 -0400 Subject: [PATCH 2/4] yeye --- .coverage | Bin 53248 -> 53248 bytes app/integrator/banker.py | 3 + bundle_uploader.sh | 4 +- coverage.xml | 430 --------------------------------------- 4 files changed, 5 insertions(+), 432 deletions(-) delete mode 100644 coverage.xml diff --git a/.coverage b/.coverage index f04efa071899ebf658f9d218dd034f849e62cd8d..bad2dfe9452d582a4bd0d50724f23899e8a70e68 100644 GIT binary patch delta 16 XcmZozz}&EadBf&@M()j9`h6S#I(r7k delta 16 XcmZozz}&EadBf&@M&`|1`h6S#I!gw> diff --git a/app/integrator/banker.py b/app/integrator/banker.py index bf2fba2..cf7eebf 100644 --- a/app/integrator/banker.py +++ b/app/integrator/banker.py @@ -16,4 +16,7 @@ def reset(self): def backdoor(self): self.balance += 5008 + def yeye(self): + return 0 + # test diff --git a/bundle_uploader.sh b/bundle_uploader.sh index 9d833df..305c0be 100755 --- a/bundle_uploader.sh +++ b/bundle_uploader.sh @@ -4,11 +4,11 @@ # RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token 81325051-5f42-4415-87e8-692a640de455" --data '{"branch": "mar13_1", "commit": "71dd2ba7f9b84d2de38400620389459bc8f2bed7", "slug": "JerrySentry::::LocalDev"}' https://stage-api.codecov.dev/upload/bundle_analysis/v1) # local huh 3 -RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token 0418a9ad-f46d-4dd6-9111-b99cdb0b0aa8" --data '{"branch": "main", "commit": "f9f921e1f26af8342ad19c561fd4517938123829", "slug": "JerrySentry::::LocalDev"}' http://localhost:8000/upload/bundle_analysis/v1) +RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token 0418a9ad-f46d-4dd6-9111-b99cdb0b0aa8" --data '{"branch": "main", "commit": "d2cd023b4eb7f89fb09de2a49a8fae58b73fae92", "slug": "JerrySentry::::LocalDev"}' http://localhost:8000/upload/bundle_analysis/v1) echo $RES URL=$(echo $RES | jq -r '.url') echo $URL -curl -v --upload-file b5.json $URL +curl -v --upload-file b4.json $URL diff --git a/coverage.xml b/coverage.xml deleted file mode 100644 index f1228ea..0000000 --- a/coverage.xml +++ /dev/null @@ -1,430 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From cc935a8619eabf523d907b2eb9a3e92785f8a3df Mon Sep 17 00:00:00 2001 From: JerrySentry Date: Tue, 21 May 2024 21:36:44 -0400 Subject: [PATCH 3/4] yeye2 --- app/integrator/banker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/integrator/banker.py b/app/integrator/banker.py index cf7eebf..bf3dff5 100644 --- a/app/integrator/banker.py +++ b/app/integrator/banker.py @@ -17,6 +17,6 @@ def backdoor(self): self.balance += 5008 def yeye(self): - return 0 + return 1 # test From d57e3d5aa340d186a7fa986701144d35d5762762 Mon Sep 17 00:00:00 2001 From: JerrySentry Date: Tue, 21 May 2024 21:38:58 -0400 Subject: [PATCH 4/4] dope --- .coverage | Bin 53248 -> 53248 bytes app/integrator/banker.py | 3 +++ 2 files changed, 3 insertions(+) diff --git a/.coverage b/.coverage index bad2dfe9452d582a4bd0d50724f23899e8a70e68..91c6791667aad2b0f0997f95465acccf94756fe7 100644 GIT binary patch delta 16 XcmZozz}&EadBf&@M(@pA`h6S#JNpL* delta 16 XcmZozz}&EadBf&@M()j9`h6S#I(r7k diff --git a/app/integrator/banker.py b/app/integrator/banker.py index bf3dff5..f0615ca 100644 --- a/app/integrator/banker.py +++ b/app/integrator/banker.py @@ -18,5 +18,8 @@ def backdoor(self): def yeye(self): return 1 + + def dope(self): + return True # test