Skip to content

Commit 83d8ea3

Browse files
committed
updated inspec kmom01-06
1 parent d91c0d4 commit 83d8ea3

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎.dbwebb.tests‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ dbwebb validate lab3
7575

7676
# marvin2
7777
test -d me/kmom03/marvin2
78-
cd me && cp -ri kmom02/marvin1/marvin.py kmom03/marvin2/main.py && cd kmom03/marvin2
78+
cd me && cp -ri kmom02/marvin1/marvin.py kmom03/marvin2/ && cd kmom03/marvin2
7979
dbwebb validate marvin2
8080

8181

@@ -92,7 +92,7 @@ dbwebb validate lab4
9292

9393
# marvin3
9494
test -d me/kmom04/marvin3
95-
cd me && cp -ri kmom03/marvin2/main.py kmom04/marvin3/ && cd kmom04/marvin3
95+
cd me && cp -ri kmom03/marvin2/marvin.py kmom04/marvin3/main.py && cd kmom04/marvin3
9696
cd me && cp -i ../example/marvin/quotes_lgtg.txt kmom04/marvin3/quotes.txt
9797
dbwebb validate marvin3
9898

@@ -145,6 +145,7 @@ test -d me/kmom06/warehouse
145145
# analyzer
146146
test -d me/kmom06/analyzer
147147
cd me && cp -i ../example/text/phil.txt kmom06/analyzer/ && cd kmom06/analyzer/
148+
touch me/kmom06/analyzer/main.py
148149
dbwebb validate analyzer
149150

150151
# --------------------------------------------------------------------------

‎.dbwebb/inspect‎

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pythonkmom03()
6363
inspectLab "uppgift/python-med-funktioner" "lab3" "answer.py" "python3 answer.py"
6464

6565
inspectExerciseHeader "marvin2" "uppgift/din-egen-chattbot-marvin-steg-2" "$KMOM/marvin2"
66-
inspectCommand "main.py" "$EXEC_DIR/$KMOM/marvin2" "python3 main.py"
66+
inspectCommand "marvin.py" "$EXEC_DIR/$KMOM/marvin2" "python3 marvin.py"
6767
}
6868

6969

@@ -75,7 +75,7 @@ pythonkmom04()
7575
{
7676
inspectLab "uppgift/python-listor" "lab4" "answer.py" "python3 answer.py"
7777

78-
inspectExerciseHeader "marvin3" "uppgift/din-egen-chattbot-marvin-steg-3\n-- ${DBW_WWW}uppgift/din-egen-chattbot-marvin-inventarie" "$KMOM/marvin3"
78+
inspectExerciseHeader "marvin3" "uppgift/din-egen-chattbot-marvin-steg-3" "$KMOM/marvin3"
7979
inspectCommand "main.py" "$EXEC_DIR/$KMOM/marvin3" "python3 main.py"
8080
}
8181

@@ -87,11 +87,8 @@ pythonkmom05()
8787
{
8888
inspectLab "uppgift/python-med-dictionaries-och-tupler" "lab5" "answer.py" "python3 answer.py"
8989

90-
inspectExerciseHeader "analyzer" "uppgift/analysera-text-och-ord" "$KMOM/analyzer"
91-
inspectCommand "main.py" "$EXEC_DIR/$KMOM/analyzer" "python3 main.py lines phil.txt"
92-
inspectCommand "main.py" "$EXEC_DIR/$KMOM/analyzer" "python3 main.py all phil.txt"
93-
94-
pythonexercise "marvin4" "main.py" "uppgift/din-egen-chattbot-marvin-tictactoe\n-- ${DBW_WWW}uppgift/din-egen-chattbot-marvin-steg-4"
90+
inspectExerciseHeader "marvin4" "uppgift/din-egen-chattbot-marvin-inventarie\n-- ${DBW_WWW}uppgift/din-egen-chattbot-marvin-tictactoe-v2\n-- ${DBW_WWW}uppgift/din-egen-chattbot-marvin-krypt" "$KMOM/marvin4"
91+
inspectCommand "main.py" "$EXEC_DIR/$KMOM/marvin4" "python3 main.py"
9592
}
9693

9794

@@ -101,10 +98,12 @@ pythonkmom05()
10198
#
10299
pythonkmom06()
103100
{
104-
inspectExerciseHeader "analyzer2" "uppgift/din-egen-chattbot-marvin-steg-5" "$KMOM/analyzer2"
105-
# inspectCommand "main.py" "$EXEC_DIR/$KMOM/analyzer2" "python3 main.py"
106-
107-
pythonmarvin5 "analyzer2" "main.py" "uppgift/din-egen-chattbot-marvin-steg-5"
101+
inspectLab "uppgift/python-med-dictionaries-och-tupler" "lab6" "answer.py" "python3 answer.py"
102+
103+
104+
inspectExerciseHeader "analyzer" "uppgift/analysera-text-och-ord-v2" "$KMOM/analyzer"
105+
inspectCommand "main.py" "$EXEC_DIR/$KMOM/analyzer" "python3 main.py lines phil.txt"
106+
inspectCommand "main.py" "$EXEC_DIR/$KMOM/analyzer" "python3 main.py all phil.txt"
108107
}
109108

110109

0 commit comments

Comments
 (0)