File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def slotfiles():
15
15
slotfile_list = []
16
16
for slotfile in slotfiles_files :
17
17
with open (path_to_data + slotfile ) as f :
18
- text = yaml .load (f .read ())
18
+ text = yaml .safe_load (f .read ())
19
19
20
20
slotfile_list .append (text )
21
21
@@ -25,30 +25,30 @@ def slotfiles():
25
25
@pytest .fixture
26
26
def expanding_slots ():
27
27
with open (path_to_data + "expanding_slots.yml" ) as f :
28
- slots = yaml .load (f .read ())
28
+ slots = yaml .safe_load (f .read ())
29
29
30
30
return slots
31
31
32
32
33
33
@pytest .fixture
34
34
def sir_records ():
35
35
with open (path_to_data + "sir_records.yml" ) as f :
36
- slots = yaml .load (f .read ())
36
+ slots = yaml .safe_load (f .read ())
37
37
38
38
return slots
39
39
40
40
41
41
@pytest .fixture
42
42
def sim_records ():
43
43
with open (path_to_data + "sim_records.yml" ) as f :
44
- slots = yaml .load (f .read ())
44
+ slots = yaml .safe_load (f .read ())
45
45
46
46
return slots
47
47
48
48
49
49
@pytest .fixture
50
50
def aircraft_configuration_strings ():
51
51
with open (path_to_data + "aircraft_configuration_strings.yml" ) as f :
52
- aircraft_configuration_strings = yaml .load (f .read ())
52
+ aircraft_configuration_strings = yaml .safe_load (f .read ())
53
53
54
54
return aircraft_configuration_strings
You can’t perform that action at this time.
0 commit comments