Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci: test Python download code on PR #337

Open
wants to merge 35 commits into
base: feat/pull-v2-api
Choose a base branch
from

Conversation

ckingbailey
Copy link
Collaborator

On PR to feat/pull-v2-api, run all tests on Python code in the download/ folder. Once the pull-v2 stuff is merged to master, we can change this to run on PR to master.

@mikeubell
Copy link
Collaborator

Build diff from Commit dac00c4:
diff --git a/build/_data/candidates/oakland/2018-11-06/pamela-price.json b/build/_data/candidates/oakland/2018-11-06/pamela-price.json
index bf8faf6..59f08a3 100644
--- a/build/_data/candidates/oakland/2018-11-06/pamela-price.json
+++ b/build/_data/candidates/oakland/2018-11-06/pamela-price.json
@@ -23,7 +23,7 @@
   "supporting_money": {
     "contributions_received": 108582.9,
     "total_contributions": 108582.9,
-    "total_expenditures": 113488.51,
+    "total_expenditures": 113768.41,
     "total_loans_received": 34500.0,
     "total_supporting_independent": 0.0,
     "support_list": [
@@ -75,6 +75,6 @@
     ]
   },
   "total_contributions": 108582.9,
-  "total_expenditures": 113488.51,
+  "total_expenditures": 113768.41,
   "total_loans_received": 34500.0
 }
diff --git a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
index 677347f..c42fe7d 100644
--- a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
+++ b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
@@ -25,16 +25,16 @@
     "total_contributions": 17530.0,
     "total_expenditures": 9718.34,
     "total_loans_received": 0.0,
-    "total_supporting_independent": 50172.51,
+    "total_supporting_independent": 71066.51,
     "support_list": [
       {
-        "Total": 15800.0,
+        "Total": 23700.0,
         "Cand_ID": 1460829,
         "Filer_ID": "1433122",
         "Filer_NamL": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021"
       },
       {
-        "Total": 30192.57,
+        "Total": 43186.57,
         "Cand_ID": 1460829,
         "Filer_ID": "1345259",
         "Filer_NamL": "Oakland Education Association Political Action Committee"
diff --git a/build/_data/committees/1421001.json b/build/_data/committees/1421001.json
index 09cc4a0..b4205e8 100644
--- a/build/_data/committees/1421001.json
+++ b/build/_data/committees/1421001.json
@@ -1500,24 +1500,24 @@
     {
       "Filer_ID": "1421001",
       "Tran_Emp": "Jordan Custom Builders",
-      "Tran_Occ": "Owner",
+      "Tran_Occ": "Operations Manager",
       "Entity_Cd": "Individual",
       "Tran_Amt1": 200.0,
       "Tran_Date": "2020-07-21",
       "Tran_NamF": "Billy",
       "Tran_NamL": "Jordan",
-      "Tran_Zip4": "75204"
+      "Tran_Zip4": "75154"
     },
     {
       "Filer_ID": "1421001",
       "Tran_Emp": "Jordan Custom Builders",
-      "Tran_Occ": "Operations Manager",
+      "Tran_Occ": "Owner",
       "Entity_Cd": "Individual",
       "Tran_Amt1": 200.0,
       "Tran_Date": "2020-07-21",
       "Tran_NamF": "Billy",
       "Tran_NamL": "Jordan",
-      "Tran_Zip4": "75154"
+      "Tran_Zip4": "75204"
     },
     {
       "Filer_ID": "1421001",
diff --git a/build/_data/elections/oakland/2023-11-07.json b/build/_data/elections/oakland/2023-11-07.json
index 73ff78f..d7dd602 100644
--- a/build/_data/elections/oakland/2023-11-07.json
+++ b/build/_data/elections/oakland/2023-11-07.json
@@ -32,12 +32,12 @@
     {
       "name": "Oakland Education Association Political Action Committee",
       "election_name": "oakland-2023",
-      "total_spending": 30192.57
+      "total_spending": 43186.57
     },
     {
       "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021",
       "election_name": "oakland-2023",
-      "total_spending": 15800.0
+      "total_spending": 23700.0
     },
     {
       "name": "Oakland Rising Committee sponsored by Center for Empowered Politics",
diff --git a/build/_data/stats.json b/build/_data/stats.json
index f0b04ca..0a08ffa 100644
--- a/build/_data/stats.json
+++ b/build/_data/stats.json
@@ -1,3 +1,3 @@
 {
-  "date_processed": "2023-10-29 00:07:45 -0700"
+  "date_processed": "2023-12-05 00:08:16 -0800"
 }
diff --git a/build/_data/totals.json b/build/_data/totals.json
index 4d36b47..aab55c9 100644
--- a/build/_data/totals.json
+++ b/build/_data/totals.json
@@ -1345,12 +1345,12 @@
       {
         "name": "Oakland Education Association Political Action Committee",
         "election_name": "oakland-2023",
-        "total_spending": 30192.57
+        "total_spending": 43186.57
       },
       {
         "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021",
         "election_name": "oakland-2023",
-        "total_spending": 15800.0
+        "total_spending": 23700.0
       },
       {
         "name": "Oakland Rising Committee sponsored by Center for Empowered Politics",

@mikeubell
Copy link
Collaborator

Build diff from Commit f81b905:
diff --git a/build/_data/candidates/oakland/2018-11-06/pamela-price.json b/build/_data/candidates/oakland/2018-11-06/pamela-price.json
index bf8faf6..59f08a3 100644
--- a/build/_data/candidates/oakland/2018-11-06/pamela-price.json
+++ b/build/_data/candidates/oakland/2018-11-06/pamela-price.json
@@ -23,7 +23,7 @@
   "supporting_money": {
     "contributions_received": 108582.9,
     "total_contributions": 108582.9,
-    "total_expenditures": 113488.51,
+    "total_expenditures": 113768.41,
     "total_loans_received": 34500.0,
     "total_supporting_independent": 0.0,
     "support_list": [
@@ -75,6 +75,6 @@
     ]
   },
   "total_contributions": 108582.9,
-  "total_expenditures": 113488.51,
+  "total_expenditures": 113768.41,
   "total_loans_received": 34500.0
 }
diff --git a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
index 677347f..c42fe7d 100644
--- a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
+++ b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
@@ -25,16 +25,16 @@
     "total_contributions": 17530.0,
     "total_expenditures": 9718.34,
     "total_loans_received": 0.0,
-    "total_supporting_independent": 50172.51,
+    "total_supporting_independent": 71066.51,
     "support_list": [
       {
-        "Total": 15800.0,
+        "Total": 23700.0,
         "Cand_ID": 1460829,
         "Filer_ID": "1433122",
         "Filer_NamL": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021"
       },
       {
-        "Total": 30192.57,
+        "Total": 43186.57,
         "Cand_ID": 1460829,
         "Filer_ID": "1345259",
         "Filer_NamL": "Oakland Education Association Political Action Committee"
diff --git a/build/_data/committees/1421001.json b/build/_data/committees/1421001.json
index 09cc4a0..b4205e8 100644
--- a/build/_data/committees/1421001.json
+++ b/build/_data/committees/1421001.json
@@ -1500,24 +1500,24 @@
     {
       "Filer_ID": "1421001",
       "Tran_Emp": "Jordan Custom Builders",
-      "Tran_Occ": "Owner",
+      "Tran_Occ": "Operations Manager",
       "Entity_Cd": "Individual",
       "Tran_Amt1": 200.0,
       "Tran_Date": "2020-07-21",
       "Tran_NamF": "Billy",
       "Tran_NamL": "Jordan",
-      "Tran_Zip4": "75204"
+      "Tran_Zip4": "75154"
     },
     {
       "Filer_ID": "1421001",
       "Tran_Emp": "Jordan Custom Builders",
-      "Tran_Occ": "Operations Manager",
+      "Tran_Occ": "Owner",
       "Entity_Cd": "Individual",
       "Tran_Amt1": 200.0,
       "Tran_Date": "2020-07-21",
       "Tran_NamF": "Billy",
       "Tran_NamL": "Jordan",
-      "Tran_Zip4": "75154"
+      "Tran_Zip4": "75204"
     },
     {
       "Filer_ID": "1421001",
diff --git a/build/_data/elections/oakland/2023-11-07.json b/build/_data/elections/oakland/2023-11-07.json
index 73ff78f..d7dd602 100644
--- a/build/_data/elections/oakland/2023-11-07.json
+++ b/build/_data/elections/oakland/2023-11-07.json
@@ -32,12 +32,12 @@
     {
       "name": "Oakland Education Association Political Action Committee",
       "election_name": "oakland-2023",
-      "total_spending": 30192.57
+      "total_spending": 43186.57
     },
     {
       "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021",
       "election_name": "oakland-2023",
-      "total_spending": 15800.0
+      "total_spending": 23700.0
     },
     {
       "name": "Oakland Rising Committee sponsored by Center for Empowered Politics",
diff --git a/build/_data/stats.json b/build/_data/stats.json
index f0b04ca..0a08ffa 100644
--- a/build/_data/stats.json
+++ b/build/_data/stats.json
@@ -1,3 +1,3 @@
 {
-  "date_processed": "2023-10-29 00:07:45 -0700"
+  "date_processed": "2023-12-05 00:08:16 -0800"
 }
diff --git a/build/_data/totals.json b/build/_data/totals.json
index 4d36b47..aab55c9 100644
--- a/build/_data/totals.json
+++ b/build/_data/totals.json
@@ -1345,12 +1345,12 @@
       {
         "name": "Oakland Education Association Political Action Committee",
         "election_name": "oakland-2023",
-        "total_spending": 30192.57
+        "total_spending": 43186.57
       },
       {
         "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021",
         "election_name": "oakland-2023",
-        "total_spending": 15800.0
+        "total_spending": 23700.0
       },
       {
         "name": "Oakland Rising Committee sponsored by Center for Empowered Politics",

@mikeubell
Copy link
Collaborator

Build diff from Commit 94874a0:
diff --git a/build/_data/candidates/oakland/2018-11-06/pamela-price.json b/build/_data/candidates/oakland/2018-11-06/pamela-price.json
index bf8faf6..59f08a3 100644
--- a/build/_data/candidates/oakland/2018-11-06/pamela-price.json
+++ b/build/_data/candidates/oakland/2018-11-06/pamela-price.json
@@ -23,7 +23,7 @@
   "supporting_money": {
     "contributions_received": 108582.9,
     "total_contributions": 108582.9,
-    "total_expenditures": 113488.51,
+    "total_expenditures": 113768.41,
     "total_loans_received": 34500.0,
     "total_supporting_independent": 0.0,
     "support_list": [
@@ -75,6 +75,6 @@
     ]
   },
   "total_contributions": 108582.9,
-  "total_expenditures": 113488.51,
+  "total_expenditures": 113768.41,
   "total_loans_received": 34500.0
 }
diff --git a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
index 677347f..c42fe7d 100644
--- a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
+++ b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json
@@ -25,16 +25,16 @@
     "total_contributions": 17530.0,
     "total_expenditures": 9718.34,
     "total_loans_received": 0.0,
-    "total_supporting_independent": 50172.51,
+    "total_supporting_independent": 71066.51,
     "support_list": [
       {
-        "Total": 15800.0,
+        "Total": 23700.0,
         "Cand_ID": 1460829,
         "Filer_ID": "1433122",
         "Filer_NamL": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021"
       },
       {
-        "Total": 30192.57,
+        "Total": 43186.57,
         "Cand_ID": 1460829,
         "Filer_ID": "1345259",
         "Filer_NamL": "Oakland Education Association Political Action Committee"
diff --git a/build/_data/committees/1421001.json b/build/_data/committees/1421001.json
index 09cc4a0..b4205e8 100644
--- a/build/_data/committees/1421001.json
+++ b/build/_data/committees/1421001.json
@@ -1500,24 +1500,24 @@
     {
       "Filer_ID": "1421001",
       "Tran_Emp": "Jordan Custom Builders",
-      "Tran_Occ": "Owner",
+      "Tran_Occ": "Operations Manager",
       "Entity_Cd": "Individual",
       "Tran_Amt1": 200.0,
       "Tran_Date": "2020-07-21",
       "Tran_NamF": "Billy",
       "Tran_NamL": "Jordan",
-      "Tran_Zip4": "75204"
+      "Tran_Zip4": "75154"
     },
     {
       "Filer_ID": "1421001",
       "Tran_Emp": "Jordan Custom Builders",
-      "Tran_Occ": "Operations Manager",
+      "Tran_Occ": "Owner",
       "Entity_Cd": "Individual",
       "Tran_Amt1": 200.0,
       "Tran_Date": "2020-07-21",
       "Tran_NamF": "Billy",
       "Tran_NamL": "Jordan",
-      "Tran_Zip4": "75154"
+      "Tran_Zip4": "75204"
     },
     {
       "Filer_ID": "1421001",
diff --git a/build/_data/elections/oakland/2023-11-07.json b/build/_data/elections/oakland/2023-11-07.json
index 73ff78f..d7dd602 100644
--- a/build/_data/elections/oakland/2023-11-07.json
+++ b/build/_data/elections/oakland/2023-11-07.json
@@ -32,12 +32,12 @@
     {
       "name": "Oakland Education Association Political Action Committee",
       "election_name": "oakland-2023",
-      "total_spending": 30192.57
+      "total_spending": 43186.57
     },
     {
       "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021",
       "election_name": "oakland-2023",
-      "total_spending": 15800.0
+      "total_spending": 23700.0
     },
     {
       "name": "Oakland Rising Committee sponsored by Center for Empowered Politics",
diff --git a/build/_data/stats.json b/build/_data/stats.json
index f0b04ca..0a08ffa 100644
--- a/build/_data/stats.json
+++ b/build/_data/stats.json
@@ -1,3 +1,3 @@
 {
-  "date_processed": "2023-10-29 00:07:45 -0700"
+  "date_processed": "2023-12-05 00:08:16 -0800"
 }
diff --git a/build/_data/totals.json b/build/_data/totals.json
index 4d36b47..aab55c9 100644
--- a/build/_data/totals.json
+++ b/build/_data/totals.json
@@ -1345,12 +1345,12 @@
       {
         "name": "Oakland Education Association Political Action Committee",
         "election_name": "oakland-2023",
-        "total_spending": 30192.57
+        "total_spending": 43186.57
       },
       {
         "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021",
         "election_name": "oakland-2023",
-        "total_spending": 15800.0
+        "total_spending": 23700.0
       },
       {
         "name": "Oakland Rising Committee sponsored by Center for Empowered Politics",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants