-
-
Notifications
You must be signed in to change notification settings - Fork 957
Commit 4f594cd
authored
Set protocol.file.allow only in tests that need it
Instead of setting environment variables just on CI and for the
the entire pytest command, this has the two test cases that need
protocol.file.allow to be set to "always" (instead of "user") set
them, via a shared fixture, just while those tests are running.
Both on CI and for local test runs, this makes it no longer
necessary to set this in a global configuration or through
environment variables, reducing the setup needed to run the tests.1 parent 92d9ae2 commit 4f594cd
File tree
3 files changed
+21
-9
lines changed- .github/workflows
- test
3 files changed
+21
-9
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 | - | ||
50 | - | ||
51 | - | ||
52 | - | ||
53 | 49 |
|
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 |
| |
|
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