Commit 8ad545e
committed
test: fix test_rest_login_RateLimit CI has different char numbers
It looks like the json returned has different spacing when pretty
printed.
Under CI, I get 157 chars under python2 and 161 under python3. On
local development, I get 167. The data is the same in all three
environments. Change test to load json data structure and compare
against a dict that matches the returned data.
Also remove encoding type, not critical to test.1 parent 21aae94 commit 8ad545e
1 file changed
+32
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1507 | 1507 | | |
1508 | 1508 | | |
1509 | 1509 | | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
| 1510 | + | |
| 1511 | + | |
1513 | 1512 | | |
1514 | 1513 | | |
1515 | 1514 | | |
1516 | 1515 | | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
0 commit comments