Skip to content

Commit d0f10b4

Browse files
committed
Improve tests
1 parent 65ad0e0 commit d0f10b4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

SoftwareTests/PreFiles/PreCheckingTheWeatherSoln.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
KnownIssuesID = "";
44
% ---- Pre-run commands -----
55

6-
% try
7-
% copyfile(fullfile(currentProject().RootFolder,"InternalFiles","Solutions","myAPIkey.txt"),...
8-
% fullfile(currentProject().RootFolder,"Scripts","myAPIkey.txt"))
9-
% catch
10-
% disp("No API key found.")
6+
try
7+
copyfile(fullfile(currentProject().RootFolder,"InternalFiles","Solutions","myAPIkey.txt"),...
8+
fullfile(currentProject().RootFolder,"Scripts","myAPIkey.txt"))
9+
catch
10+
disp("No API key found.")
1111
% % copyfile("Response.json",fullfile(currentProject().RootFolder,"InstructorResources","Solutions","Response.json"))
1212
% % pycode = ["import checkcurrentweather"
1313
% % "import json"
@@ -16,8 +16,8 @@
1616
% % "currentWeather = checkcurrentweather.parse_current_json(json_data)"
1717
% % ];
1818
% apikey = "TestString";
19-
% % pyrun = @(txt,out,varargin)TestPyRun(pycode,out,varargin);
20-
% end
19+
% pyrun = @(txt,out,varargin)TestPyRun(pycode,out,varargin);
20+
end
2121
%
2222
% function out = TestPyRun(txt,in,varargin)
2323
% out = pyrun(txt,in);

0 commit comments

Comments
 (0)