Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit4f594cd
authored
Set protocol.file.allow only in tests that need it
Instead of setting environment variables just on CI and for thethe entire pytest command, this has the two test cases that needprotocol.file.allow to be set to "always" (instead of "user") setthem, via a shared fixture, just while those tests are running.Both on CI and for local test runs, this makes it no longernecessary to set this in a global configuration or throughenvironment variables, reducing the setup needed to run the tests.1 parent92d9ae2 commit4f594cd
File tree
3 files changed
+21
-9
lines changed- .github/workflows
- test
3 files changed
+21
-9
lines changedLines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 49 |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 | 59 |
| |
64 | 60 |
| |
65 | 61 |
| |
|
Lines changed: 21 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
9 |
| - | |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
34 | 52 |
| |
35 | 53 |
| |
36 | 54 |
| |
| |||
709 | 727 |
| |
710 | 728 |
| |
711 | 729 |
| |
| 730 | + | |
712 | 731 |
| |
713 | 732 |
| |
714 | 733 |
| |
| |||
737 | 756 |
| |
738 | 757 |
| |
739 | 758 |
| |
| 759 | + | |
740 | 760 |
| |
741 | 761 |
| |
742 | 762 |
| |
|
0 commit comments
Comments
(0)