Skip to content

Commit

Permalink
Get tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
duckduckgrayduck committed Nov 29, 2023
1 parent 39d48ba commit 3a0c6bc
Show file tree
Hide file tree
Showing 76 changed files with 13,767 additions and 8,306 deletions.
3,457 changes: 3,457 additions & 0 deletions ca-certificates.crt

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions tests/cassettes/fixtures/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interactions:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
- gzip, deflate, br
Connection:
- keep-alive
Content-Length:
Expand All @@ -18,7 +18,7 @@ interactions:
uri: https://dev.squarelet.com/api/token/
response:
body:
string: '{"refresh":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY5OTEyNjY3NCwianRpIjoiM2JkN2VkNjMyODIyNDhlNjg4Mjg0YjAwYzExYjZhY2EiLCJ1c2VyX2lkIjoiYTdhMWJmMjctNGY1YS00YzA2LTk2YzItMmQ4MTJjNTFiNjFmIiwiYXVkIjpbInNxdWFyZWxldCIsIm11Y2tyb2NrIiwiZG9jdW1lbnRjbG91ZCJdLCJpc3MiOlsic3F1YXJlbGV0Il19.NOhMT_5STqvV7TJrhkKg8Q1NqFYPIY0EJ6VUt6c6TcgHWmDZg5qrFhfOrwvXov1OGOEpL7QxrdeqTBJwQYlvKD6HxO9aFfX3nZayH3RpsJqgNER_7BkRiPU0XgUagd1gD5XLd4gSSt0VEtbzlk2DZCiEmM0HMkF0sIR8NB5O181HwdemikjJ3yzMDa3orBerJvicR5-iZSHxD2ecajQyWcB18TF-OXXaG7ly3cPiQTFZpdi5AQ89H-xLmFIMHFekXvejxaK6desOAZAV9QwsTJq7Dx8ty6RgDrhCGtvFpQWDMEg35tdliEWVlM0Y5fnXlbAJjVlmZd9BzBgTlHskog","access":"eyJ0eXAiOiJKV1QiLCJhbGciO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RMkIZqmQY3Mq-5WE9tydKRBPjRJWscgAik7frJGHjKSLs4OzUGLCC9JO0T4FfEiv8lPlu-ZvSrnN4ux3Gps0kzoPGf2XCQD-i1TC_2djijCRguNjdFdkpLVgIcVFiY8zSJ3jEj2hkkm2EMH79gyb0E4XK34HGR_21KDjxOjIdMIiLPJeqTuQ1l2aimBXQukl69s4RQPdyVyJ3V7i-idK5jEkIPUItl-gxA","access":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzAxMjkyMDE5LCJqdGkiOiIxMjA4MDBmNzU4YmI0YjEzOTJiZDMwNTI1MDA2Yjk4NiIsInVzZXJfaWQiOiI5YTczMmY0Yi0wNTRmLTRkNDQtYWJiMC1kODQyMTdkY2EzMzMiLCJhdWQiOlsic3F1YXJlbGV0IiwibXVja3JvY2siLCJkb2N1bWVudGNsb3VkIl0sImlzcyI6WyJzcXVhcmVsZXQiXX0.aTIfIwnAw0cB1GR75gw1hDOkZjgqFFR6o5_xthpTRdGYg-cKgzTm60ykRPn7MHR8cTyVfEpgm6LRuXjDmzkGHReNk6OSiQ4TouetwW9x3EEUOzEjA2D0DI_lQGUIWMTVXl_miLG9lT_qpaX_uqJvQymnvL9aoSOiYdXiIEVAkK9HT_sdo8oWOgnzyDJp0M_UCdA6VGoIaEL-uLYO4mZ8tITMebifGhHsvbBw76gFtjRDN6VVGTAtYRwc-L43-4B8FQQa1PStBfrZIZVIM3Zo0k90yuTushw6BEtbULBJ_wYSGKYa2o6mWD_Q-x2cArScCwIgZBYOggYxOG8K3Jzing"}'
headers:
Allow:
- POST, OPTIONS
Expand All @@ -28,19 +28,21 @@ interactions:
- '1313'
Content-Type:
- application/json
Cross-Origin-Opener-Policy:
- same-origin
Date:
- Fri, 03 Nov 2023 19:37:54 GMT
- Wed, 29 Nov 2023 21:01:59 GMT
Referrer-Policy:
- same-origin
Server:
- nginx/1.23.1
- nginx/1.25.2
Server-Timing:
- TimerPanel_utime;dur=299.0890000000004;desc="User CPU time", TimerPanel_stime;dur=28.29700000000024;desc="System
CPU time", TimerPanel_total;dur=327.38600000000065;desc="Total CPU time",
TimerPanel_total_time;dur=127.46310234069824;desc="Elapsed time", SQLPanel_sql_time;dur=9.727001190185547;desc="SQL
- TimerPanel_utime;dur=155.14899999999798;desc="User CPU time", TimerPanel_stime;dur=34.69500000000103;desc="System
CPU time", TimerPanel_total;dur=189.84399999999903;desc="Total CPU time",
TimerPanel_total_time;dur=100.30651092529297;desc="Elapsed time", SQLPanel_sql_time;dur=5.846977233886719;desc="SQL
3 queries", CachePanel_total_time;dur=0;desc="Cache 0 Calls"
Set-Cookie:
- op_browser_state=a65d397bd2e066c643dd80ba21918e6b815229469d827ea8c5226471;
- op_browser_state=930bcb9f92aa00b3e00e7153710d38427af67a791fe1107e19e2fe88;
Path=/
Vary:
- Accept, Origin, Cookie
Expand Down
700 changes: 617 additions & 83 deletions tests/cassettes/fixtures/document.yaml

Large diffs are not rendered by default.

756 changes: 686 additions & 70 deletions tests/cassettes/fixtures/document_factory.yaml

Large diffs are not rendered by default.

704 changes: 638 additions & 66 deletions tests/cassettes/fixtures/project.yaml

Large diffs are not rendered by default.

162 changes: 147 additions & 15 deletions tests/cassettes/fixtures/project_factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,61 @@ interactions:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
- gzip, deflate, br
Authorization:
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjk5MDQwNjMyLCJqdGkiOiI4ODRjNGVjMWMyNmY0OTBlOTUyMzM4MWIwZmI3ODg1NyIsInVzZXJfaWQiOiJhN2ExYmYyNy00ZjVhLTRjMDYtOTZjMi0yZDgxMmM1MWI2MWYiLCJhdWQiOlsic3F1YXJlbGV0IiwibXVja3JvY2siLCJkb2N1bW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
- '0'
User-Agent:
- python-requests/2.31.0
method: DELETE
uri: https://api.dev.documentcloud.org/api/projects/100502/?version=2.0
uri: https://api.dev.documentcloud.org/api/projects/200053?version=2.0
response:
body:
string: ''
headers:
Connection:
- keep-alive
Content-Language:
- en
Content-Type:
- text/html; charset=utf-8
Cross-Origin-Opener-Policy:
- same-origin
Date:
- Wed, 29 Nov 2023 21:07:38 GMT
Location:
- /api/projects/200053/?version=2.0
Referrer-Policy:
- same-origin
Server:
- nginx/1.25.2
Transfer-Encoding:
- chunked
Vary:
- Origin, Accept-Language
X-Content-Type-Options:
- nosniff
status:
code: 301
message: Moved Permanently
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzAxMjkyMTIzLCJqdGkiOiJhZTQyNGI4NzAwYTg0Njg3YWVjNTEzZjI5MWFjMTU1NCIsInVzZXJfaWQiOiI5YTczMmY0Yi0wNTRmLTRkNDQtYWJiMC1kODQyMTdkY2EzMzMiLCJhdWQiOlsic3F1YXJlbGV0IiwibXVja3JvY2siLCJkb2N1bWVudGNsb3VkIl0sImlzcyI6WyJzcXVhcmVsZXQiXX0.Fd5PFPqGPAoUMpjgXNvwVqR1rKGx_AkjLbztX1DGtbjdiTjg6WF_D-OtETag2Ky_bqTr9TEXJ2lQswUJJ5_YES3accK7P-W4cUAQoQRfdvmavI-U3q-6EJNXNJ9Ej4ZIco5S-n7CoU_oSfVOBm15MuhXw42PsWcvYPV-m_2IiQ4TEiEuaW8niyE4Ogim9DlrAM2DZc-0ZOyXLsRuJKDuGNuLNRSf62Z9ICOK5A9aRFzMnTqN-ON3OxksYbbJ26MKlMEN3zzbst_PnMT5roPZ65qhb2CFCWZvK8v5i2xqLIVI6KHh0TOdSLljlNO4CSRpf3L7NCaO8SEa5oWEnU_KRA
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: DELETE
uri: https://api.dev.documentcloud.org/api/projects/200053/?version=2.0
response:
body:
string: ''
Expand All @@ -31,11 +75,11 @@ interactions:
Cross-Origin-Opener-Policy:
- same-origin
Date:
- Fri, 03 Nov 2023 19:40:31 GMT
- Wed, 29 Nov 2023 21:07:38 GMT
Referrer-Policy:
- same-origin
Server:
- nginx/1.23.1
- nginx/1.25.2
Vary:
- Accept, Origin, Accept-Language, Cookie
X-Content-Type-Options:
Expand All @@ -51,17 +95,61 @@ interactions:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
- gzip, deflate, br
Authorization:
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjk5MDQwNjMyLCJqdGkiOiI4ODRjNGVjMWMyNmY0OTBlOTUyMzM4MWIwZmI3ODg1NyIsInVzZXJfaWQiOiJhN2ExYmYyNy00ZjVhLTRjMDYtOTZjMi0yZDgxMmM1MWI2MWYiLCJhdWQiOlsic3F1YXJlbGV0IiwibXVja3JvY2siLCJkb2N1bWVudGNsb3VkIl0sImlzcyI6WyJzcXVhcmVsZXQiXX0.WAFNIp-5HMkQ_6-Bqj_tuj1IpiO9jDzs4Pmb0XZpYMXtisEWbkaj0V4qXDsF1vHCoCDjA3jT31IyIrbNdmEixVTTuDG-eMT_PCPpdm25jP8ECErZNv-TaUiMOMYRaXvt3ENPBckE4SMjHiDSR_Prr34kY_LxCnDITp8JsjTIcsM1Wr8x5sFd6TQ-gshw0NbqILas1wLMBo9Lpmh0uuJ7498uxX_Kdb6cLuSVbZeN7iwO1F2IuU90NDYvsKdBz-6ajS-fkwSKbFRWRCushLhfrDBJH5dv-rRgq87CQ-IjeXkxpuqEPqRyarnelAewgc1_jw6WbBPz9xXJmaHjdZys_A
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzAxMjkyMTIzLCJqdGkiOiJhZTQyNGI4NzAwYTg0Njg3YWVjNTEzZjI5MWFjMTU1NCIsInVzZXJfaWQiOiI5YTczMmY0Yi0wNTRmLTRkNDQtYWJiMC1kODQyMTdkY2EzMzMiLCJhdWQiOlsic3F1YXJlbGV0IiwibXVja3JvY2siLCJkb2N1bWVudGNsb3VkIl0sImlzcyI6WyJzcXVhcmVsZXQiXX0.Fd5PFPqGPAoUMpjgXNvwVqR1rKGx_AkjLbztX1DGtbjdiTjg6WF_D-OtETag2Ky_bqTr9TEXJ2lQswUJJ5_YES3accK7P-W4cUAQoQRfdvmavI-U3q-6EJNXNJ9Ej4ZIco5S-n7CoU_oSfVOBm15MuhXw42PsWcvYPV-m_2IiQ4TEiEuaW8niyE4Ogim9DlrAM2DZc-0ZOyXLsRuJKDuGNuLNRSf62Z9ICOK5A9aRFzMnTqN-ON3OxksYbbJ26MKlMEN3zzbst_PnMT5roPZ65qhb2CFCWZvK8v5i2xqLIVI6KHh0TOdSLljlNO4CSRpf3L7NCaO8SEa5oWEnU_KRA
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- python-requests/2.31.0
method: DELETE
uri: https://api.dev.documentcloud.org/api/projects/100503/?version=2.0
uri: https://api.dev.documentcloud.org/api/projects/200054?version=2.0
response:
body:
string: ''
headers:
Connection:
- keep-alive
Content-Language:
- en
Content-Type:
- text/html; charset=utf-8
Cross-Origin-Opener-Policy:
- same-origin
Date:
- Wed, 29 Nov 2023 21:07:38 GMT
Location:
- /api/projects/200054/?version=2.0
Referrer-Policy:
- same-origin
Server:
- nginx/1.25.2
Transfer-Encoding:
- chunked
Vary:
- Origin, Accept-Language
X-Content-Type-Options:
- nosniff
status:
code: 301
message: Moved Permanently
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzAxMjkyMTIzLCJqdGkiOiJhZTQyNGI4NzAwYTg0Njg3YWVjNTEzZjI5MWFjMTU1NCIsInVzZXJfaWQiOiI5YTczMmY0Yi0wNTRmLTRkNDQtYWJiMC1kODQyMTdkY2EzMzMiLCJhdWQiOlsic3F1YXJlbGV0IiwibXVja3JvY2siLCJkb2N1bWVudGNsb3VkIl0sImlzcyI6WyJzcXVhcmVsZXQiXX0.Fd5PFPqGPAoUMpjgXNvwVqR1rKGx_AkjLbztX1DGtbjdiTjg6WF_D-OtETag2Ky_bqTr9TEXJ2lQswUJJ5_YES3accK7P-W4cUAQoQRfdvmavI-U3q-6EJNXNJ9Ej4ZIco5S-n7CoU_oSfVOBm15MuhXw42PsWcvYPV-m_2IiQ4TEiEuaW8niyE4Ogim9DlrAM2DZc-0ZOyXLsRuJKDuGNuLNRSf62Z9ICOK5A9aRFzMnTqN-ON3OxksYbbJ26MKlMEN3zzbst_PnMT5roPZ65qhb2CFCWZvK8v5i2xqLIVI6KHh0TOdSLljlNO4CSRpf3L7NCaO8SEa5oWEnU_KRA
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: DELETE
uri: https://api.dev.documentcloud.org/api/projects/200054/?version=2.0
response:
body:
string: ''
Expand All @@ -77,11 +165,11 @@ interactions:
Cross-Origin-Opener-Policy:
- same-origin
Date:
- Fri, 03 Nov 2023 19:40:31 GMT
- Wed, 29 Nov 2023 21:07:38 GMT
Referrer-Policy:
- same-origin
Server:
- nginx/1.23.1
- nginx/1.25.2
Vary:
- Accept, Origin, Accept-Language, Cookie
X-Content-Type-Options:
Expand All @@ -97,17 +185,61 @@ interactions:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
- gzip, deflate, br
Authorization:
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjk5MDQwNjMyLCJqdGkiOiI4ODRjN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KDuGNuLNRSf62Z9ICOK5A9aRFzMnTqN-ON3OxksYbbJ26MKlMEN3zzbst_PnMT5roPZ65qhb2CFCWZvK8v5i2xqLIVI6KHh0TOdSLljlNO4CSRpf3L7NCaO8SEa5oWEnU_KRA
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- python-requests/2.31.0
method: DELETE
uri: https://api.dev.documentcloud.org/api/projects/100504/?version=2.0
uri: https://api.dev.documentcloud.org/api/projects/200055?version=2.0
response:
body:
string: ''
headers:
Connection:
- keep-alive
Content-Language:
- en
Content-Type:
- text/html; charset=utf-8
Cross-Origin-Opener-Policy:
- same-origin
Date:
- Wed, 29 Nov 2023 21:07:38 GMT
Location:
- /api/projects/200055/?version=2.0
Referrer-Policy:
- same-origin
Server:
- nginx/1.25.2
Transfer-Encoding:
- chunked
Vary:
- Origin, Accept-Language
X-Content-Type-Options:
- nosniff
status:
code: 301
message: Moved Permanently
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzAxMjkyMTIzLCJqdGkiOiJhZTQyNGI4NzAwYTg0Njg3YWVjNTEzZjI5MWFjMTU1NCIsInVzZXJfaWQiOiI5YTczMmY0Yi0wNTRmLTRkNDQtYWJiMC1kODQyMTdkY2EzMzMiLCJhdWQiOlsic3F1YXJlbGV0IiwibXVja3JvY2siLCJkb2N1bWVudGNsb3VkIl0sImlzcyI6WyJzcXVhcmVsZXQiXX0.Fd5PFPqGPAoUMpjgXNvwVqR1rKGx_AkjLbztX1DGtbjdiTjg6WF_D-OtETag2Ky_bqTr9TEXJ2lQswUJJ5_YES3accK7P-W4cUAQoQRfdvmavI-U3q-6EJNXNJ9Ej4ZIco5S-n7CoU_oSfVOBm15MuhXw42PsWcvYPV-m_2IiQ4TEiEuaW8niyE4Ogim9DlrAM2DZc-0ZOyXLsRuJKDuGNuLNRSf62Z9ICOK5A9aRFzMnTqN-ON3OxksYbbJ26MKlMEN3zzbst_PnMT5roPZ65qhb2CFCWZvK8v5i2xqLIVI6KHh0TOdSLljlNO4CSRpf3L7NCaO8SEa5oWEnU_KRA
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: DELETE
uri: https://api.dev.documentcloud.org/api/projects/200055/?version=2.0
response:
body:
string: ''
Expand All @@ -123,11 +255,11 @@ interactions:
Cross-Origin-Opener-Policy:
- same-origin
Date:
- Fri, 03 Nov 2023 19:40:31 GMT
- Wed, 29 Nov 2023 21:07:38 GMT
Referrer-Policy:
- same-origin
Server:
- nginx/1.23.1
- nginx/1.25.2
Vary:
- Accept, Origin, Accept-Language, Cookie
X-Content-Type-Options:
Expand Down
20 changes: 11 additions & 9 deletions tests/cassettes/fixtures/rate_client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interactions:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
- gzip, deflate, br
Connection:
- keep-alive
Content-Length:
Expand All @@ -18,7 +18,7 @@ interactions:
uri: https://dev.squarelet.com/api/token/
response:
body:
string: '{"refresh":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY5OTEyNjczMywianRpIjoiMDEwMDExZGIzZGY4NDg0Nzk2YTk5NmNhNjU5ODg4YjUiLCJ1c2VyX2lkIjoiYTdhMWJmMjctNGY1YS00YzA2LTk2YzItMmQ4MTJjNTFiNjFmIiwiYXVkIjpbInNxdWFyZWxldCIsIm11Y2tyb2NrIiwiZG9jdW1lbnRjbG91ZCJdLCJpc3MiOlsic3F1YXJlbGV0Il19.EMDXkTAvAt6A3FVxRQxBjh06RdrT7KF_z5ofxaaH67XirSJJptW02HZmjKhIhzBYBwYTNMHDUiQJ_n2tbqsLCRFUkJ7f3PBYzt9iraE5FDK_tktn1QplpG55pO1UcHpmD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DimiloJxiByP9cpy_awcQjxjnm4ajBozBploaQ1Gxs-w"}'
headers:
Allow:
- POST, OPTIONS
Expand All @@ -28,19 +28,21 @@ interactions:
- '1313'
Content-Type:
- application/json
Cross-Origin-Opener-Policy:
- same-origin
Date:
- Fri, 03 Nov 2023 19:38:53 GMT
- Wed, 29 Nov 2023 21:03:44 GMT
Referrer-Policy:
- same-origin
Server:
- nginx/1.23.1
- nginx/1.25.2
Server-Timing:
- TimerPanel_utime;dur=284.6410000000006;desc="User CPU time", TimerPanel_stime;dur=42.10600000000042;desc="System
CPU time", TimerPanel_total;dur=326.747000000001;desc="Total CPU time", TimerPanel_total_time;dur=128.42082977294922;desc="Elapsed
time", SQLPanel_sql_time;dur=9.865999221801758;desc="SQL 3 queries", CachePanel_total_time;dur=0;desc="Cache
0 Calls"
- TimerPanel_utime;dur=116.19400000000013;desc="User CPU time", TimerPanel_stime;dur=29.764000000000124;desc="System
CPU time", TimerPanel_total;dur=145.95800000000025;desc="Total CPU time",
TimerPanel_total_time;dur=86.17329597473145;desc="Elapsed time", SQLPanel_sql_time;dur=5.75709342956543;desc="SQL
3 queries", CachePanel_total_time;dur=0;desc="Cache 0 Calls"
Set-Cookie:
- op_browser_state=a65d397bd2e066c643dd80ba21918e6b815229469d827ea8c5226471;
- op_browser_state=930bcb9f92aa00b3e00e7153710d38427af67a791fe1107e19e2fe88;
Path=/
Vary:
- Accept, Origin, Cookie
Expand Down
Loading

0 comments on commit 3a0c6bc

Please sign in to comment.