正在显示
28 个修改的文件
包含
1979 行增加
和
0 行删除
.git 17.59.01/HEAD
0 → 100644
1 | +ref: refs/heads/master | ... | ... |
.git 17.59.01/config
0 → 100644
.git 17.59.01/description
0 → 100644
1 | +Unnamed repository; edit this file 'description' to name the repository. | ... | ... |
.git 17.59.01/hooks/applypatch-msg.sample
0 → 100755
1 | +#!/bin/sh | |
2 | +# | |
3 | +# An example hook script to check the commit log message taken by | |
4 | +# applypatch from an e-mail message. | |
5 | +# | |
6 | +# The hook should exit with non-zero status after issuing an | |
7 | +# appropriate message if it wants to stop the commit. The hook is | |
8 | +# allowed to edit the commit message file. | |
9 | +# | |
10 | +# To enable this hook, rename this file to "applypatch-msg". | |
11 | + | |
12 | +. git-sh-setup | |
13 | +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" | |
14 | +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} | |
15 | +: | ... | ... |
.git 17.59.01/hooks/commit-msg.sample
0 → 100755
1 | +#!/bin/sh | |
2 | +# | |
3 | +# An example hook script to check the commit log message. | |
4 | +# Called by "git commit" with one argument, the name of the file | |
5 | +# that has the commit message. The hook should exit with non-zero | |
6 | +# status after issuing an appropriate message if it wants to stop the | |
7 | +# commit. The hook is allowed to edit the commit message file. | |
8 | +# | |
9 | +# To enable this hook, rename this file to "commit-msg". | |
10 | + | |
11 | +# Uncomment the below to add a Signed-off-by line to the message. | |
12 | +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg | |
13 | +# hook is more suited to it. | |
14 | +# | |
15 | +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') | |
16 | +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" | |
17 | + | |
18 | +# This example catches duplicate Signed-off-by lines. | |
19 | + | |
20 | +test "" = "$(grep '^Signed-off-by: ' "$1" | | |
21 | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { | |
22 | + echo >&2 Duplicate Signed-off-by lines. | |
23 | + exit 1 | |
24 | +} | ... | ... |
1 | +#!/usr/bin/perl | |
2 | + | |
3 | +use strict; | |
4 | +use warnings; | |
5 | +use IPC::Open2; | |
6 | + | |
7 | +# An example hook script to integrate Watchman | |
8 | +# (https://facebook.github.io/watchman/) with git to speed up detecting | |
9 | +# new and modified files. | |
10 | +# | |
11 | +# The hook is passed a version (currently 1) and a time in nanoseconds | |
12 | +# formatted as a string and outputs to stdout all files that have been | |
13 | +# modified since the given time. Paths must be relative to the root of | |
14 | +# the working tree and separated by a single NUL. | |
15 | +# | |
16 | +# To enable this hook, rename this file to "query-watchman" and set | |
17 | +# 'git config core.fsmonitor .git/hooks/query-watchman' | |
18 | +# | |
19 | +my ($version, $time) = @ARGV; | |
20 | + | |
21 | +# Check the hook interface version | |
22 | + | |
23 | +if ($version == 1) { | |
24 | + # convert nanoseconds to seconds | |
25 | + $time = int $time / 1000000000; | |
26 | +} else { | |
27 | + die "Unsupported query-fsmonitor hook version '$version'.\n" . | |
28 | + "Falling back to scanning...\n"; | |
29 | +} | |
30 | + | |
31 | +my $git_work_tree; | |
32 | +if ($^O =~ 'msys' || $^O =~ 'cygwin') { | |
33 | + $git_work_tree = Win32::GetCwd(); | |
34 | + $git_work_tree =~ tr/\\/\//; | |
35 | +} else { | |
36 | + require Cwd; | |
37 | + $git_work_tree = Cwd::cwd(); | |
38 | +} | |
39 | + | |
40 | +my $retry = 1; | |
41 | + | |
42 | +launch_watchman(); | |
43 | + | |
44 | +sub launch_watchman { | |
45 | + | |
46 | + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') | |
47 | + or die "open2() failed: $!\n" . | |
48 | + "Falling back to scanning...\n"; | |
49 | + | |
50 | + # In the query expression below we're asking for names of files that | |
51 | + # changed since $time but were not transient (ie created after | |
52 | + # $time but no longer exist). | |
53 | + # | |
54 | + # To accomplish this, we're using the "since" generator to use the | |
55 | + # recency index to select candidate nodes and "fields" to limit the | |
56 | + # output to file names only. Then we're using the "expression" term to | |
57 | + # further constrain the results. | |
58 | + # | |
59 | + # The category of transient files that we want to ignore will have a | |
60 | + # creation clock (cclock) newer than $time_t value and will also not | |
61 | + # currently exist. | |
62 | + | |
63 | + my $query = <<" END"; | |
64 | + ["query", "$git_work_tree", { | |
65 | + "since": $time, | |
66 | + "fields": ["name"], | |
67 | + "expression": ["not", ["allof", ["since", $time, "cclock"], ["not", "exists"]]] | |
68 | + }] | |
69 | + END | |
70 | + | |
71 | + print CHLD_IN $query; | |
72 | + close CHLD_IN; | |
73 | + my $response = do {local $/; <CHLD_OUT>}; | |
74 | + | |
75 | + die "Watchman: command returned no output.\n" . | |
76 | + "Falling back to scanning...\n" if $response eq ""; | |
77 | + die "Watchman: command returned invalid output: $response\n" . | |
78 | + "Falling back to scanning...\n" unless $response =~ /^\{/; | |
79 | + | |
80 | + my $json_pkg; | |
81 | + eval { | |
82 | + require JSON::XS; | |
83 | + $json_pkg = "JSON::XS"; | |
84 | + 1; | |
85 | + } or do { | |
86 | + require JSON::PP; | |
87 | + $json_pkg = "JSON::PP"; | |
88 | + }; | |
89 | + | |
90 | + my $o = $json_pkg->new->utf8->decode($response); | |
91 | + | |
92 | + if ($retry > 0 and $o->{error} and $o->{error} =~ m/unable to resolve root .* directory (.*) is not watched/) { | |
93 | + print STDERR "Adding '$git_work_tree' to watchman's watch list.\n"; | |
94 | + $retry--; | |
95 | + qx/watchman watch "$git_work_tree"/; | |
96 | + die "Failed to make watchman watch '$git_work_tree'.\n" . | |
97 | + "Falling back to scanning...\n" if $? != 0; | |
98 | + | |
99 | + # Watchman will always return all files on the first query so | |
100 | + # return the fast "everything is dirty" flag to git and do the | |
101 | + # Watchman query just to get it over with now so we won't pay | |
102 | + # the cost in git to look up each individual file. | |
103 | + print "/\0"; | |
104 | + eval { launch_watchman() }; | |
105 | + exit 0; | |
106 | + } | |
107 | + | |
108 | + die "Watchman: $o->{error}.\n" . | |
109 | + "Falling back to scanning...\n" if $o->{error}; | |
110 | + | |
111 | + binmode STDOUT, ":utf8"; | |
112 | + local $, = "\0"; | |
113 | + print @{$o->{files}}; | |
114 | +} | ... | ... |
.git 17.59.01/hooks/post-update.sample
0 → 100755
.git 17.59.01/hooks/pre-applypatch.sample
0 → 100755
1 | +#!/bin/sh | |
2 | +# | |
3 | +# An example hook script to verify what is about to be committed | |
4 | +# by applypatch from an e-mail message. | |
5 | +# | |
6 | +# The hook should exit with non-zero status after issuing an | |
7 | +# appropriate message if it wants to stop the commit. | |
8 | +# | |
9 | +# To enable this hook, rename this file to "pre-applypatch". | |
10 | + | |
11 | +. git-sh-setup | |
12 | +precommit="$(git rev-parse --git-path hooks/pre-commit)" | |
13 | +test -x "$precommit" && exec "$precommit" ${1+"$@"} | |
14 | +: | ... | ... |
.git 17.59.01/hooks/pre-commit.sample
0 → 100755
1 | +#!/bin/sh | |
2 | +# | |
3 | +# An example hook script to verify what is about to be committed. | |
4 | +# Called by "git commit" with no arguments. The hook should | |
5 | +# exit with non-zero status after issuing an appropriate message if | |
6 | +# it wants to stop the commit. | |
7 | +# | |
8 | +# To enable this hook, rename this file to "pre-commit". | |
9 | + | |
10 | +if git rev-parse --verify HEAD >/dev/null 2>&1 | |
11 | +then | |
12 | + against=HEAD | |
13 | +else | |
14 | + # Initial commit: diff against an empty tree object | |
15 | + against=$(git hash-object -t tree /dev/null) | |
16 | +fi | |
17 | + | |
18 | +# If you want to allow non-ASCII filenames set this variable to true. | |
19 | +allownonascii=$(git config --bool hooks.allownonascii) | |
20 | + | |
21 | +# Redirect output to stderr. | |
22 | +exec 1>&2 | |
23 | + | |
24 | +# Cross platform projects tend to avoid non-ASCII filenames; prevent | |
25 | +# them from being added to the repository. We exploit the fact that the | |
26 | +# printable range starts at the space character and ends with tilde. | |
27 | +if [ "$allownonascii" != "true" ] && | |
28 | + # Note that the use of brackets around a tr range is ok here, (it's | |
29 | + # even required, for portability to Solaris 10's /usr/bin/tr), since | |
30 | + # the square bracket bytes happen to fall in the designated range. | |
31 | + test $(git diff --cached --name-only --diff-filter=A -z $against | | |
32 | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 | |
33 | +then | |
34 | + cat <<\EOF | |
35 | +Error: Attempt to add a non-ASCII file name. | |
36 | + | |
37 | +This can cause problems if you want to work with people on other platforms. | |
38 | + | |
39 | +To be portable it is advisable to rename the file. | |
40 | + | |
41 | +If you know what you are doing you can disable this check using: | |
42 | + | |
43 | + git config hooks.allownonascii true | |
44 | +EOF | |
45 | + exit 1 | |
46 | +fi | |
47 | + | |
48 | +# If there are whitespace errors, print the offending file names and fail. | |
49 | +exec git diff-index --check --cached $against -- | ... | ... |
.git 17.59.01/hooks/pre-merge-commit.sample
0 → 100755
1 | +#!/bin/sh | |
2 | +# | |
3 | +# An example hook script to verify what is about to be committed. | |
4 | +# Called by "git merge" with no arguments. The hook should | |
5 | +# exit with non-zero status after issuing an appropriate message to | |
6 | +# stderr if it wants to stop the merge commit. | |
7 | +# | |
8 | +# To enable this hook, rename this file to "pre-merge-commit". | |
9 | + | |
10 | +. git-sh-setup | |
11 | +test -x "$GIT_DIR/hooks/pre-commit" && | |
12 | + exec "$GIT_DIR/hooks/pre-commit" | |
13 | +: | ... | ... |
.git 17.59.01/hooks/pre-push.sample
0 → 100755
1 | +#!/bin/sh | |
2 | + | |
3 | +# An example hook script to verify what is about to be pushed. Called by "git | |
4 | +# push" after it has checked the remote status, but before anything has been | |
5 | +# pushed. If this script exits with a non-zero status nothing will be pushed. | |
6 | +# | |
7 | +# This hook is called with the following parameters: | |
8 | +# | |
9 | +# $1 -- Name of the remote to which the push is being done | |
10 | +# $2 -- URL to which the push is being done | |
11 | +# | |
12 | +# If pushing without using a named remote those arguments will be equal. | |
13 | +# | |
14 | +# Information about the commits which are being pushed is supplied as lines to | |
15 | +# the standard input in the form: | |
16 | +# | |
17 | +# <local ref> <local sha1> <remote ref> <remote sha1> | |
18 | +# | |
19 | +# This sample shows how to prevent push of commits where the log message starts | |
20 | +# with "WIP" (work in progress). | |
21 | + | |
22 | +remote="$1" | |
23 | +url="$2" | |
24 | + | |
25 | +z40=0000000000000000000000000000000000000000 | |
26 | + | |
27 | +while read local_ref local_sha remote_ref remote_sha | |
28 | +do | |
29 | + if [ "$local_sha" = $z40 ] | |
30 | + then | |
31 | + # Handle delete | |
32 | + : | |
33 | + else | |
34 | + if [ "$remote_sha" = $z40 ] | |
35 | + then | |
36 | + # New branch, examine all commits | |
37 | + range="$local_sha" | |
38 | + else | |
39 | + # Update to existing branch, examine new commits | |
40 | + range="$remote_sha..$local_sha" | |
41 | + fi | |
42 | + | |
43 | + # Check for WIP commit | |
44 | + commit=`git rev-list -n 1 --grep '^WIP' "$range"` | |
45 | + if [ -n "$commit" ] | |
46 | + then | |
47 | + echo >&2 "Found WIP commit in $local_ref, not pushing" | |
48 | + exit 1 | |
49 | + fi | |
50 | + fi | |
51 | +done | |
52 | + | |
53 | +exit 0 | ... | ... |
.git 17.59.01/hooks/pre-rebase.sample
0 → 100755
1 | +#!/bin/sh | |
2 | +# | |
3 | +# Copyright (c) 2006, 2008 Junio C Hamano | |
4 | +# | |
5 | +# The "pre-rebase" hook is run just before "git rebase" starts doing | |
6 | +# its job, and can prevent the command from running by exiting with | |
7 | +# non-zero status. | |
8 | +# | |
9 | +# The hook is called with the following parameters: | |
10 | +# | |
11 | +# $1 -- the upstream the series was forked from. | |
12 | +# $2 -- the branch being rebased (or empty when rebasing the current branch). | |
13 | +# | |
14 | +# This sample shows how to prevent topic branches that are already | |
15 | +# merged to 'next' branch from getting rebased, because allowing it | |
16 | +# would result in rebasing already published history. | |
17 | + | |
18 | +publish=next | |
19 | +basebranch="$1" | |
20 | +if test "$#" = 2 | |
21 | +then | |
22 | + topic="refs/heads/$2" | |
23 | +else | |
24 | + topic=`git symbolic-ref HEAD` || | |
25 | + exit 0 ;# we do not interrupt rebasing detached HEAD | |
26 | +fi | |
27 | + | |
28 | +case "$topic" in | |
29 | +refs/heads/??/*) | |
30 | + ;; | |
31 | +*) | |
32 | + exit 0 ;# we do not interrupt others. | |
33 | + ;; | |
34 | +esac | |
35 | + | |
36 | +# Now we are dealing with a topic branch being rebased | |
37 | +# on top of master. Is it OK to rebase it? | |
38 | + | |
39 | +# Does the topic really exist? | |
40 | +git show-ref -q "$topic" || { | |
41 | + echo >&2 "No such branch $topic" | |
42 | + exit 1 | |
43 | +} | |
44 | + | |
45 | +# Is topic fully merged to master? | |
46 | +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` | |
47 | +if test -z "$not_in_master" | |
48 | +then | |
49 | + echo >&2 "$topic is fully merged to master; better remove it." | |
50 | + exit 1 ;# we could allow it, but there is no point. | |
51 | +fi | |
52 | + | |
53 | +# Is topic ever merged to next? If so you should not be rebasing it. | |
54 | +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` | |
55 | +only_next_2=`git rev-list ^master ${publish} | sort` | |
56 | +if test "$only_next_1" = "$only_next_2" | |
57 | +then | |
58 | + not_in_topic=`git rev-list "^$topic" master` | |
59 | + if test -z "$not_in_topic" | |
60 | + then | |
61 | + echo >&2 "$topic is already up to date with master" | |
62 | + exit 1 ;# we could allow it, but there is no point. | |
63 | + else | |
64 | + exit 0 | |
65 | + fi | |
66 | +else | |
67 | + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` | |
68 | + /usr/bin/perl -e ' | |
69 | + my $topic = $ARGV[0]; | |
70 | + my $msg = "* $topic has commits already merged to public branch:\n"; | |
71 | + my (%not_in_next) = map { | |
72 | + /^([0-9a-f]+) /; | |
73 | + ($1 => 1); | |
74 | + } split(/\n/, $ARGV[1]); | |
75 | + for my $elem (map { | |
76 | + /^([0-9a-f]+) (.*)$/; | |
77 | + [$1 => $2]; | |
78 | + } split(/\n/, $ARGV[2])) { | |
79 | + if (!exists $not_in_next{$elem->[0]}) { | |
80 | + if ($msg) { | |
81 | + print STDERR $msg; | |
82 | + undef $msg; | |
83 | + } | |
84 | + print STDERR " $elem->[1]\n"; | |
85 | + } | |
86 | + } | |
87 | + ' "$topic" "$not_in_next" "$not_in_master" | |
88 | + exit 1 | |
89 | +fi | |
90 | + | |
91 | +<<\DOC_END | |
92 | + | |
93 | +This sample hook safeguards topic branches that have been | |
94 | +published from being rewound. | |
95 | + | |
96 | +The workflow assumed here is: | |
97 | + | |
98 | + * Once a topic branch forks from "master", "master" is never | |
99 | + merged into it again (either directly or indirectly). | |
100 | + | |
101 | + * Once a topic branch is fully cooked and merged into "master", | |
102 | + it is deleted. If you need to build on top of it to correct | |
103 | + earlier mistakes, a new topic branch is created by forking at | |
104 | + the tip of the "master". This is not strictly necessary, but | |
105 | + it makes it easier to keep your history simple. | |
106 | + | |
107 | + * Whenever you need to test or publish your changes to topic | |
108 | + branches, merge them into "next" branch. | |
109 | + | |
110 | +The script, being an example, hardcodes the publish branch name | |
111 | +to be "next", but it is trivial to make it configurable via | |
112 | +$GIT_DIR/config mechanism. | |
113 | + | |
114 | +With this workflow, you would want to know: | |
115 | + | |
116 | +(1) ... if a topic branch has ever been merged to "next". Young | |
117 | + topic branches can have stupid mistakes you would rather | |
118 | + clean up before publishing, and things that have not been | |
119 | + merged into other branches can be easily rebased without | |
120 | + affecting other people. But once it is published, you would | |
121 | + not want to rewind it. | |
122 | + | |
123 | +(2) ... if a topic branch has been fully merged to "master". | |
124 | + Then you can delete it. More importantly, you should not | |
125 | + build on top of it -- other people may already want to | |
126 | + change things related to the topic as patches against your | |
127 | + "master", so if you need further changes, it is better to | |
128 | + fork the topic (perhaps with the same name) afresh from the | |
129 | + tip of "master". | |
130 | + | |
131 | +Let's look at this example: | |
132 | + | |
133 | + o---o---o---o---o---o---o---o---o---o "next" | |
134 | + / / / / | |
135 | + / a---a---b A / / | |
136 | + / / / / | |
137 | + / / c---c---c---c B / | |
138 | + / / / \ / | |
139 | + / / / b---b C \ / | |
140 | + / / / / \ / | |
141 | + ---o---o---o---o---o---o---o---o---o---o---o "master" | |
142 | + | |
143 | + | |
144 | +A, B and C are topic branches. | |
145 | + | |
146 | + * A has one fix since it was merged up to "next". | |
147 | + | |
148 | + * B has finished. It has been fully merged up to "master" and "next", | |
149 | + and is ready to be deleted. | |
150 | + | |
151 | + * C has not merged to "next" at all. | |
152 | + | |
153 | +We would want to allow C to be rebased, refuse A, and encourage | |
154 | +B to be deleted. | |
155 | + | |
156 | +To compute (1): | |
157 | + | |
158 | + git rev-list ^master ^topic next | |
159 | + git rev-list ^master next | |
160 | + | |
161 | + if these match, topic has not merged in next at all. | |
162 | + | |
163 | +To compute (2): | |
164 | + | |
165 | + git rev-list master..topic | |
166 | + | |
167 | + if this is empty, it is fully merged to "master". | |
168 | + | |
169 | +DOC_END | ... | ... |
.git 17.59.01/hooks/pre-receive.sample
0 → 100755
1 | +#!/bin/sh | |
2 | +# | |
3 | +# An example hook script to make use of push options. | |
4 | +# The example simply echoes all push options that start with 'echoback=' | |
5 | +# and rejects all pushes when the "reject" push option is used. | |
6 | +# | |
7 | +# To enable this hook, rename this file to "pre-receive". | |
8 | + | |
9 | +if test -n "$GIT_PUSH_OPTION_COUNT" | |
10 | +then | |
11 | + i=0 | |
12 | + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" | |
13 | + do | |
14 | + eval "value=\$GIT_PUSH_OPTION_$i" | |
15 | + case "$value" in | |
16 | + echoback=*) | |
17 | + echo "echo from the pre-receive-hook: ${value#*=}" >&2 | |
18 | + ;; | |
19 | + reject) | |
20 | + exit 1 | |
21 | + esac | |
22 | + i=$((i + 1)) | |
23 | + done | |
24 | +fi | ... | ... |
1 | +#!/bin/sh | |
2 | +# | |
3 | +# An example hook script to prepare the commit log message. | |
4 | +# Called by "git commit" with the name of the file that has the | |
5 | +# commit message, followed by the description of the commit | |
6 | +# message's source. The hook's purpose is to edit the commit | |
7 | +# message file. If the hook fails with a non-zero status, | |
8 | +# the commit is aborted. | |
9 | +# | |
10 | +# To enable this hook, rename this file to "prepare-commit-msg". | |
11 | + | |
12 | +# This hook includes three examples. The first one removes the | |
13 | +# "# Please enter the commit message..." help message. | |
14 | +# | |
15 | +# The second includes the output of "git diff --name-status -r" | |
16 | +# into the message, just before the "git status" output. It is | |
17 | +# commented because it doesn't cope with --amend or with squashed | |
18 | +# commits. | |
19 | +# | |
20 | +# The third example adds a Signed-off-by line to the message, that can | |
21 | +# still be edited. This is rarely a good idea. | |
22 | + | |
23 | +COMMIT_MSG_FILE=$1 | |
24 | +COMMIT_SOURCE=$2 | |
25 | +SHA1=$3 | |
26 | + | |
27 | +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" | |
28 | + | |
29 | +# case "$COMMIT_SOURCE,$SHA1" in | |
30 | +# ,|template,) | |
31 | +# /usr/bin/perl -i.bak -pe ' | |
32 | +# print "\n" . `git diff --cached --name-status -r` | |
33 | +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; | |
34 | +# *) ;; | |
35 | +# esac | |
36 | + | |
37 | +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') | |
38 | +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" | |
39 | +# if test -z "$COMMIT_SOURCE" | |
40 | +# then | |
41 | +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" | |
42 | +# fi | ... | ... |
.git 17.59.01/hooks/update.sample
0 → 100755
1 | +#!/bin/sh | |
2 | +# | |
3 | +# An example hook script to block unannotated tags from entering. | |
4 | +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new | |
5 | +# | |
6 | +# To enable this hook, rename this file to "update". | |
7 | +# | |
8 | +# Config | |
9 | +# ------ | |
10 | +# hooks.allowunannotated | |
11 | +# This boolean sets whether unannotated tags will be allowed into the | |
12 | +# repository. By default they won't be. | |
13 | +# hooks.allowdeletetag | |
14 | +# This boolean sets whether deleting tags will be allowed in the | |
15 | +# repository. By default they won't be. | |
16 | +# hooks.allowmodifytag | |
17 | +# This boolean sets whether a tag may be modified after creation. By default | |
18 | +# it won't be. | |
19 | +# hooks.allowdeletebranch | |
20 | +# This boolean sets whether deleting branches will be allowed in the | |
21 | +# repository. By default they won't be. | |
22 | +# hooks.denycreatebranch | |
23 | +# This boolean sets whether remotely creating branches will be denied | |
24 | +# in the repository. By default this is allowed. | |
25 | +# | |
26 | + | |
27 | +# --- Command line | |
28 | +refname="$1" | |
29 | +oldrev="$2" | |
30 | +newrev="$3" | |
31 | + | |
32 | +# --- Safety check | |
33 | +if [ -z "$GIT_DIR" ]; then | |
34 | + echo "Don't run this script from the command line." >&2 | |
35 | + echo " (if you want, you could supply GIT_DIR then run" >&2 | |
36 | + echo " $0 <ref> <oldrev> <newrev>)" >&2 | |
37 | + exit 1 | |
38 | +fi | |
39 | + | |
40 | +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then | |
41 | + echo "usage: $0 <ref> <oldrev> <newrev>" >&2 | |
42 | + exit 1 | |
43 | +fi | |
44 | + | |
45 | +# --- Config | |
46 | +allowunannotated=$(git config --bool hooks.allowunannotated) | |
47 | +allowdeletebranch=$(git config --bool hooks.allowdeletebranch) | |
48 | +denycreatebranch=$(git config --bool hooks.denycreatebranch) | |
49 | +allowdeletetag=$(git config --bool hooks.allowdeletetag) | |
50 | +allowmodifytag=$(git config --bool hooks.allowmodifytag) | |
51 | + | |
52 | +# check for no description | |
53 | +projectdesc=$(sed -e '1q' "$GIT_DIR/description") | |
54 | +case "$projectdesc" in | |
55 | +"Unnamed repository"* | "") | |
56 | + echo "*** Project description file hasn't been set" >&2 | |
57 | + exit 1 | |
58 | + ;; | |
59 | +esac | |
60 | + | |
61 | +# --- Check types | |
62 | +# if $newrev is 0000...0000, it's a commit to delete a ref. | |
63 | +zero="0000000000000000000000000000000000000000" | |
64 | +if [ "$newrev" = "$zero" ]; then | |
65 | + newrev_type=delete | |
66 | +else | |
67 | + newrev_type=$(git cat-file -t $newrev) | |
68 | +fi | |
69 | + | |
70 | +case "$refname","$newrev_type" in | |
71 | + refs/tags/*,commit) | |
72 | + # un-annotated tag | |
73 | + short_refname=${refname##refs/tags/} | |
74 | + if [ "$allowunannotated" != "true" ]; then | |
75 | + echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2 | |
76 | + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 | |
77 | + exit 1 | |
78 | + fi | |
79 | + ;; | |
80 | + refs/tags/*,delete) | |
81 | + # delete tag | |
82 | + if [ "$allowdeletetag" != "true" ]; then | |
83 | + echo "*** Deleting a tag is not allowed in this repository" >&2 | |
84 | + exit 1 | |
85 | + fi | |
86 | + ;; | |
87 | + refs/tags/*,tag) | |
88 | + # annotated tag | |
89 | + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 | |
90 | + then | |
91 | + echo "*** Tag '$refname' already exists." >&2 | |
92 | + echo "*** Modifying a tag is not allowed in this repository." >&2 | |
93 | + exit 1 | |
94 | + fi | |
95 | + ;; | |
96 | + refs/heads/*,commit) | |
97 | + # branch | |
98 | + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then | |
99 | + echo "*** Creating a branch is not allowed in this repository" >&2 | |
100 | + exit 1 | |
101 | + fi | |
102 | + ;; | |
103 | + refs/heads/*,delete) | |
104 | + # delete branch | |
105 | + if [ "$allowdeletebranch" != "true" ]; then | |
106 | + echo "*** Deleting a branch is not allowed in this repository" >&2 | |
107 | + exit 1 | |
108 | + fi | |
109 | + ;; | |
110 | + refs/remotes/*,commit) | |
111 | + # tracking branch | |
112 | + ;; | |
113 | + refs/remotes/*,delete) | |
114 | + # delete tracking branch | |
115 | + if [ "$allowdeletebranch" != "true" ]; then | |
116 | + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 | |
117 | + exit 1 | |
118 | + fi | |
119 | + ;; | |
120 | + *) | |
121 | + # Anything else (is there anything else?) | |
122 | + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 | |
123 | + exit 1 | |
124 | + ;; | |
125 | +esac | |
126 | + | |
127 | +# --- Finished | |
128 | +exit 0 | ... | ... |
.git 17.59.01/info/exclude
0 → 100644
logs/log.log
0 → 100644
1 | +2023-07-24 18:06:53,451 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过 | |
2 | +2023-07-24 18:06:53,710 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过 | |
3 | +2023-07-24 18:06:53,934 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过 | |
4 | +2023-07-24 18:06:54,340 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过 | |
5 | +2023-07-24 18:06:54,596 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过 | |
6 | +2023-07-24 18:06:55,368 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | |
7 | +2023-07-24 18:06:55,694 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称未填写,执行通过 | |
8 | +2023-07-24 18:06:56,037 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称重复,执行通过 | |
9 | +2023-07-24 18:06:56,361 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称长度不可大于30位,执行通过 | |
10 | +2023-07-24 18:06:56,652 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码重复,执行通过 | |
11 | +2023-07-24 18:06:56,962 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码不能为空,执行通过 | |
12 | +2023-07-24 18:06:57,283 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码长度不可大于30,执行通过 | |
13 | +2023-07-24 18:06:57,624 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | |
14 | +2023-07-24 18:06:57,953 - [test_02_system_management.py-->line:135] - INFO: 用例查看院系列表,执行通过 | |
15 | +2023-07-24 18:07:00,025 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | |
16 | +2023-07-24 18:07:01,543 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系未填写,执行通过 | |
17 | +2023-07-24 18:07:03,174 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系不存在,执行通过 | |
18 | +2023-07-24 18:07:04,780 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称未填写,执行通过 | |
19 | +2023-07-24 18:07:06,420 - [test_02_system_management.py-->line:209] - INFO: 用例专业名称长度不能大于30,执行通过 | |
20 | +2023-07-24 18:07:07,945 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称重复,执行通过 | |
21 | +2023-07-24 18:07:09,645 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码重复,执行通过 | |
22 | +2023-07-24 18:07:11,218 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码未填写,执行通过 | |
23 | +2023-07-24 18:07:12,761 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过 | |
24 | +2023-07-24 18:07:14,306 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类未填写,执行通过 | |
25 | +2023-07-24 18:07:15,982 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类填写错误,执行通过 | |
26 | +2023-07-24 18:07:17,826 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | |
27 | +2023-07-24 18:07:18,567 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | |
28 | +2023-07-24 18:07:18,882 - [test_02_system_management.py-->line:275] - INFO: 用例学年名称不可超过30字,执行通过 | |
29 | +2023-07-24 18:07:19,281 - [test_02_system_management.py-->line:275] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过 | |
30 | +2023-07-24 18:07:19,818 - [test_02_system_management.py-->line:275] - INFO: 用例学年未填写,执行通过 | |
31 | +2023-07-24 18:07:20,207 - [test_02_system_management.py-->line:275] - INFO: 用例学期未填写,执行通过 | |
32 | +2023-07-24 18:07:20,565 - [test_02_system_management.py-->line:275] - INFO: 用例学期开始时间未填写,执行通过 | |
33 | +2023-07-24 18:07:20,898 - [test_02_system_management.py-->line:275] - INFO: 用例学期结束时间未填写,执行通过 | |
34 | +2023-07-24 18:07:21,242 - [test_02_system_management.py-->line:275] - INFO: 用例学期不可超过5个学期,执行通过 | |
35 | +2023-07-24 18:07:21,568 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | |
36 | +2023-07-24 18:07:24,316 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | |
37 | +2023-07-24 18:07:24,683 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师姓名不能为空,执行通过 | |
38 | +2023-07-24 18:07:24,996 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师手机号不能为空,执行通过 | |
39 | +2023-07-24 18:07:25,299 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件类型不能为空,执行通过 | |
40 | +2023-07-24 18:07:25,614 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件号码不能为空,执行通过 | |
41 | +2023-07-24 18:07:26,108 - [test_03_teaching_affairs.py-->line:100] - ERROR: 用例标题教师角色不能为空,不通过 | |
42 | +2023-07-24 18:07:26,108 - [test_03_teaching_affairs.py-->line:101] - ERROR: '教师角色不能为空' != 'success' | |
43 | +- 教师角色不能为空 | |
44 | ++ success | |
45 | +Traceback (most recent call last): | |
46 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 95, in test_add_teacher_info | |
47 | + self.assertEqual(expected['msg'], res['msg']) | |
48 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
49 | + assertion_func(first, second, msg=msg) | |
50 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
51 | + self.fail(self._formatMessage(msg, standardMsg)) | |
52 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
53 | + raise self.failureException(msg) | |
54 | +AssertionError: '教师角色不能为空' != 'success' | |
55 | +- 教师角色不能为空 | |
56 | ++ success | |
57 | + | |
58 | +2023-07-24 18:07:26,604 - [test_03_teaching_affairs.py-->line:100] - ERROR: 用例标题教师角色不能为空,不通过 | |
59 | +2023-07-24 18:07:26,604 - [test_03_teaching_affairs.py-->line:101] - ERROR: '教师角色不能为空' != '该身份证号已存在,请确认' | |
60 | +- 教师角色不能为空 | |
61 | ++ 该身份证号已存在,请确认 | |
62 | +Traceback (most recent call last): | |
63 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 95, in test_add_teacher_info | |
64 | + self.assertEqual(expected['msg'], res['msg']) | |
65 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
66 | + assertion_func(first, second, msg=msg) | |
67 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
68 | + self.fail(self._formatMessage(msg, standardMsg)) | |
69 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
70 | + raise self.failureException(msg) | |
71 | +AssertionError: '教师角色不能为空' != '该身份证号已存在,请确认' | |
72 | +- 教师角色不能为空 | |
73 | ++ 该身份证号已存在,请确认 | |
74 | + | |
75 | +2023-07-24 18:07:27,087 - [test_03_teaching_affairs.py-->line:100] - ERROR: 用例标题教师角色不能为空,不通过 | |
76 | +2023-07-24 18:07:27,087 - [test_03_teaching_affairs.py-->line:101] - ERROR: '教师角色不能为空' != '该身份证号已存在,请确认' | |
77 | +- 教师角色不能为空 | |
78 | ++ 该身份证号已存在,请确认 | |
79 | +Traceback (most recent call last): | |
80 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 95, in test_add_teacher_info | |
81 | + self.assertEqual(expected['msg'], res['msg']) | |
82 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
83 | + assertion_func(first, second, msg=msg) | |
84 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
85 | + self.fail(self._formatMessage(msg, standardMsg)) | |
86 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
87 | + raise self.failureException(msg) | |
88 | +AssertionError: '教师角色不能为空' != '该身份证号已存在,请确认' | |
89 | +- 教师角色不能为空 | |
90 | ++ 该身份证号已存在,请确认 | |
91 | + | |
92 | +2023-07-24 18:07:27,588 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师性别为空,添加成功,执行通过 | |
93 | +2023-07-24 18:07:28,054 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师入职时间为空,添加成功,执行通过 | |
94 | +2023-07-24 18:07:28,611 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师邮箱为空,添加成功,执行通过 | |
95 | +2023-07-24 18:07:29,099 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师工号为空,添加成功,执行通过 | |
96 | +2023-07-24 18:07:29,574 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | |
97 | +2023-07-24 18:07:33,512 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | |
98 | +2023-07-24 18:07:33,824 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称已存在,执行通过 | |
99 | +2023-07-24 18:07:34,150 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | |
100 | +2023-07-24 18:07:34,456 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | |
101 | +2023-07-24 18:07:34,767 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例入学年份未填写,执行通过 | |
102 | +2023-07-24 18:07:35,090 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业未填写,执行通过 | |
103 | +2023-07-24 18:07:35,409 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业填写错误,执行通过 | |
104 | +2023-07-24 18:07:35,776 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系可以为空,执行通过 | |
105 | +2023-07-24 18:07:36,086 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系下没有该专业,执行通过 | |
106 | +2023-07-24 18:07:36,422 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师未填写,添加成功,执行通过 | |
107 | +2023-07-24 18:07:36,787 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师填写错误,执行通过 | |
108 | +2023-07-24 18:07:37,130 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | |
109 | +2023-07-24 18:07:40,631 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例新增课程,执行通过 | |
110 | +2023-07-24 18:07:40,946 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例课程名称不能为空,执行通过 | |
111 | +2023-07-24 18:07:41,248 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例课程名称不能超过30字,执行通过 | |
112 | +2023-07-24 18:07:41,556 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例实践类型不能为空,执行通过 | |
113 | +2023-07-24 18:07:41,864 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例院系不能为空,执行通过 | |
114 | +2023-07-24 18:07:42,185 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例院系不能为空,执行通过 | |
115 | +2023-07-24 18:07:42,507 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学分不能为空,执行通过 | |
116 | +2023-07-24 18:07:42,826 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例修读性质不能为空,执行通过 | |
117 | +2023-07-24 18:07:43,117 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例修读性质填写错误,执行通过 | |
118 | +2023-07-24 18:07:43,425 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学时(周数)不能为空,执行通过 | |
119 | +2023-07-24 18:07:43,738 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学期不能为空,执行通过 | |
120 | +2023-07-24 18:07:44,053 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例专业不能为空,执行通过 | |
121 | +2023-07-24 18:07:44,365 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例专业填写错误,执行通过 | |
122 | +2023-07-24 18:07:44,703 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例新增课程,执行通过 | |
123 | +2023-07-24 18:07:49,006 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例新增学生成功,执行通过 | |
124 | +2023-07-24 18:07:49,293 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学生姓名未填写失败,执行通过 | |
125 | +2023-07-24 18:07:49,622 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学生学号未填写失败,执行通过 | |
126 | +2023-07-24 18:07:50,012 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例手机号未填写,添加成功,执行通过 | |
127 | +2023-07-24 18:07:50,310 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例入学年份未填写,添加失败,执行通过 | |
128 | +2023-07-24 18:07:50,642 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例班级未填写,添加失败,执行通过 | |
129 | +2023-07-24 18:07:50,988 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型和证件号码都没填写,添加成功,执行通过 | |
130 | +2023-07-24 18:07:51,275 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型未填,证件号码填写,添加失败,执行通过 | |
131 | +2023-07-24 18:07:51,604 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型填写,证件号码未填写,添加失败,执行通过 | |
132 | +2023-07-24 18:07:52,000 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例性别未填写,添加成功,执行通过 | |
133 | +2023-07-24 18:07:52,551 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学籍状态未填写,添加成功,执行通过 | |
134 | +2023-07-24 18:07:52,941 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例培养方向未填写,添加成功,执行通过 | |
135 | +2023-07-24 18:07:53,282 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例其他-备注未填写,添加成功,执行通过 | |
136 | +2023-07-24 18:07:53,776 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例院系ID未填写,添加失败,执行通过 | |
137 | +2023-07-24 18:07:54,094 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例专业ID未填写添加失败,执行通过 | |
138 | +2023-07-24 18:07:54,432 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例新增学生成功,执行通过 | |
139 | +2023-07-24 18:08:00,793 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | |
140 | +2023-07-24 18:08:01,140 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能为空,执行通过 | |
141 | +2023-07-24 18:08:01,450 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能大于30位,执行通过 | |
142 | +2023-07-24 18:08:01,739 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不能为空,执行通过 | |
143 | +2023-07-24 18:08:02,153 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不存在,执行通过 | |
144 | +2023-07-24 18:08:02,489 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划开始时间不能为空,执行通过 | |
145 | +2023-07-24 18:08:02,806 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划结束时间不能为空,执行通过 | |
146 | +2023-07-24 18:08:03,159 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的为空,添加成功,执行通过 | |
147 | +2023-07-24 18:08:03,466 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的不能超过100位,执行通过 | |
148 | +2023-07-24 18:08:03,845 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)未填写,添加成功,执行通过 | |
149 | +2023-07-24 18:08:04,150 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)长度不能超过200位,执行通过 | |
150 | +2023-07-24 18:08:04,489 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式不能为空,执行通过 | |
151 | +2023-07-24 18:08:04,840 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为集中,添加成功--集中,执行通过 | |
152 | +2023-07-24 18:08:05,167 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为自主,添加成功--自主,执行通过 | |
153 | +2023-07-24 18:08:05,473 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交开始时间不能为空,执行通过 | |
154 | +2023-07-24 18:08:05,774 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交结束时间不能为空,执行通过 | |
155 | +2023-07-24 18:08:06,133 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例报告模块路径为空,添加成功,执行通过 | |
156 | +2023-07-24 18:08:06,481 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容为空,添加成功,执行通过 | |
157 | +2023-07-24 18:08:06,782 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容长度不能大于500位,执行通过 | |
158 | +2023-07-24 18:08:07,087 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系不能为空,执行通过 | |
159 | +2023-07-24 18:08:07,413 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写为空,添加成功,执行通过 | |
160 | +2023-07-24 18:08:07,715 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期不能为空,执行通过 | |
161 | +2023-07-24 18:08:08,069 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期填写错误,执行通过 | |
162 | +2023-07-24 18:08:08,430 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | |
163 | +2023-07-24 18:08:08,794 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例创建计划,方便使用的数据,自主,执行通过 | |
164 | +2023-07-24 18:08:10,158 - [test_04_Internship_preparation.py-->line:209] - INFO: 用例发布计划,执行通过 | |
165 | +2023-07-24 18:08:13,118 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | |
166 | +2023-07-24 18:08:13,507 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-不允许自行填报企业信息),执行通过 | |
167 | +2023-07-24 18:08:13,932 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-允许自行填报企业信息),执行通过 | |
168 | +2023-07-24 18:08:14,417 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息),执行通过 | |
169 | +2023-07-24 18:08:14,759 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能为空,执行通过 | |
170 | +2023-07-24 18:08:15,060 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能大于30位,执行通过 | |
171 | +2023-07-24 18:08:15,401 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不能为空,执行通过 | |
172 | +2023-07-24 18:08:15,709 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不匹配,执行通过 | |
173 | +2023-07-24 18:08:16,016 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式不能为空,执行通过 | |
174 | +2023-07-24 18:08:16,380 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式填写错误,执行通过 | |
175 | +2023-07-24 18:08:16,778 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不填写,添加成功,执行通过 | |
176 | +2023-07-24 18:08:17,192 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不能大于500,执行通过 | |
177 | +2023-07-24 18:08:17,554 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习开始时间不能为空,执行通过 | |
178 | +2023-07-24 18:08:17,891 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习结束时间不能为空,执行通过 | |
179 | +2023-07-24 18:08:18,235 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目开始日期需早于项目结束日期,执行通过 | |
180 | +2023-07-24 18:08:18,592 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
181 | +2023-07-24 18:08:18,592 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != 'success' | |
182 | +- 报名审核填写错误 | |
183 | ++ success | |
184 | +Traceback (most recent call last): | |
185 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
186 | + self.assertEqual(expected['msg'], res['msg']) | |
187 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
188 | + assertion_func(first, second, msg=msg) | |
189 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
190 | + self.fail(self._formatMessage(msg, standardMsg)) | |
191 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
192 | + raise self.failureException(msg) | |
193 | +AssertionError: '报名审核填写错误' != 'success' | |
194 | +- 报名审核填写错误 | |
195 | ++ success | |
196 | + | |
197 | +2023-07-24 18:08:19,084 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
198 | +2023-07-24 18:08:19,084 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
199 | +- 报名审核填写错误 | |
200 | ++ 项目名称已存在 | |
201 | +Traceback (most recent call last): | |
202 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
203 | + self.assertEqual(expected['msg'], res['msg']) | |
204 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
205 | + assertion_func(first, second, msg=msg) | |
206 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
207 | + self.fail(self._formatMessage(msg, standardMsg)) | |
208 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
209 | + raise self.failureException(msg) | |
210 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
211 | +- 报名审核填写错误 | |
212 | ++ 项目名称已存在 | |
213 | + | |
214 | +2023-07-24 18:08:19,562 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
215 | +2023-07-24 18:08:19,562 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
216 | +- 报名审核填写错误 | |
217 | ++ 项目名称已存在 | |
218 | +Traceback (most recent call last): | |
219 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
220 | + self.assertEqual(expected['msg'], res['msg']) | |
221 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
222 | + assertion_func(first, second, msg=msg) | |
223 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
224 | + self.fail(self._formatMessage(msg, standardMsg)) | |
225 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
226 | + raise self.failureException(msg) | |
227 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
228 | +- 报名审核填写错误 | |
229 | ++ 项目名称已存在 | |
230 | + | |
231 | +2023-07-24 18:08:20,333 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
232 | +2023-07-24 18:08:20,333 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != 'success' | |
233 | +- 报名审核不能为空 | |
234 | ++ success | |
235 | +Traceback (most recent call last): | |
236 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
237 | + self.assertEqual(expected['msg'], res['msg']) | |
238 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
239 | + assertion_func(first, second, msg=msg) | |
240 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
241 | + self.fail(self._formatMessage(msg, standardMsg)) | |
242 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
243 | + raise self.failureException(msg) | |
244 | +AssertionError: '报名审核不能为空' != 'success' | |
245 | +- 报名审核不能为空 | |
246 | ++ success | |
247 | + | |
248 | +2023-07-24 18:08:20,879 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
249 | +2023-07-24 18:08:20,879 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
250 | +- 报名审核不能为空 | |
251 | ++ 项目名称已存在 | |
252 | +Traceback (most recent call last): | |
253 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
254 | + self.assertEqual(expected['msg'], res['msg']) | |
255 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
256 | + assertion_func(first, second, msg=msg) | |
257 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
258 | + self.fail(self._formatMessage(msg, standardMsg)) | |
259 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
260 | + raise self.failureException(msg) | |
261 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
262 | +- 报名审核不能为空 | |
263 | ++ 项目名称已存在 | |
264 | + | |
265 | +2023-07-24 18:08:21,366 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
266 | +2023-07-24 18:08:21,366 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
267 | +- 报名审核不能为空 | |
268 | ++ 项目名称已存在 | |
269 | +Traceback (most recent call last): | |
270 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
271 | + self.assertEqual(expected['msg'], res['msg']) | |
272 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
273 | + assertion_func(first, second, msg=msg) | |
274 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
275 | + self.fail(self._formatMessage(msg, standardMsg)) | |
276 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
277 | + raise self.failureException(msg) | |
278 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
279 | +- 报名审核不能为空 | |
280 | ++ 项目名称已存在 | |
281 | + | |
282 | +2023-07-24 18:08:21,707 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
283 | +2023-07-24 18:08:21,708 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != 'success' | |
284 | +- 实习计划不匹配 | |
285 | ++ success | |
286 | +Traceback (most recent call last): | |
287 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
288 | + self.assertEqual(expected['msg'], res['msg']) | |
289 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
290 | + assertion_func(first, second, msg=msg) | |
291 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
292 | + self.fail(self._formatMessage(msg, standardMsg)) | |
293 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
294 | + raise self.failureException(msg) | |
295 | +AssertionError: '实习计划不匹配' != 'success' | |
296 | +- 实习计划不匹配 | |
297 | ++ success | |
298 | + | |
299 | +2023-07-24 18:08:22,185 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
300 | +2023-07-24 18:08:22,185 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
301 | +- 实习计划不匹配 | |
302 | ++ 项目名称已存在 | |
303 | +Traceback (most recent call last): | |
304 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
305 | + self.assertEqual(expected['msg'], res['msg']) | |
306 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
307 | + assertion_func(first, second, msg=msg) | |
308 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
309 | + self.fail(self._formatMessage(msg, standardMsg)) | |
310 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
311 | + raise self.failureException(msg) | |
312 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
313 | +- 实习计划不匹配 | |
314 | ++ 项目名称已存在 | |
315 | + | |
316 | +2023-07-24 18:08:22,677 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
317 | +2023-07-24 18:08:22,677 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
318 | +- 实习计划不匹配 | |
319 | ++ 项目名称已存在 | |
320 | +Traceback (most recent call last): | |
321 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
322 | + self.assertEqual(expected['msg'], res['msg']) | |
323 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
324 | + assertion_func(first, second, msg=msg) | |
325 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
326 | + self.fail(self._formatMessage(msg, standardMsg)) | |
327 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
328 | + raise self.failureException(msg) | |
329 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
330 | +- 实习计划不匹配 | |
331 | ++ 项目名称已存在 | |
332 | + | |
333 | +2023-07-24 18:08:23,219 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
334 | +2023-07-24 18:08:23,220 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != 'success' | |
335 | +- 自行填报企业信息不能为空 | |
336 | ++ success | |
337 | +Traceback (most recent call last): | |
338 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
339 | + self.assertEqual(expected['msg'], res['msg']) | |
340 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
341 | + assertion_func(first, second, msg=msg) | |
342 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
343 | + self.fail(self._formatMessage(msg, standardMsg)) | |
344 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
345 | + raise self.failureException(msg) | |
346 | +AssertionError: '自行填报企业信息不能为空' != 'success' | |
347 | +- 自行填报企业信息不能为空 | |
348 | ++ success | |
349 | + | |
350 | +2023-07-24 18:08:23,722 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
351 | +2023-07-24 18:08:23,722 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
352 | +- 自行填报企业信息不能为空 | |
353 | ++ 项目名称已存在 | |
354 | +Traceback (most recent call last): | |
355 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
356 | + self.assertEqual(expected['msg'], res['msg']) | |
357 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
358 | + assertion_func(first, second, msg=msg) | |
359 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
360 | + self.fail(self._formatMessage(msg, standardMsg)) | |
361 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
362 | + raise self.failureException(msg) | |
363 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
364 | +- 自行填报企业信息不能为空 | |
365 | ++ 项目名称已存在 | |
366 | + | |
367 | +2023-07-24 18:08:24,221 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
368 | +2023-07-24 18:08:24,222 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
369 | +- 自行填报企业信息不能为空 | |
370 | ++ 项目名称已存在 | |
371 | +Traceback (most recent call last): | |
372 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
373 | + self.assertEqual(expected['msg'], res['msg']) | |
374 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
375 | + assertion_func(first, second, msg=msg) | |
376 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
377 | + self.fail(self._formatMessage(msg, standardMsg)) | |
378 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
379 | + raise self.failureException(msg) | |
380 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
381 | +- 自行填报企业信息不能为空 | |
382 | ++ 项目名称已存在 | |
383 | + | |
384 | +2023-07-24 18:08:24,558 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生不能为空,执行通过 | |
385 | +2023-07-24 18:08:24,889 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生填写错误,执行通过 | |
386 | +2023-07-24 18:08:25,270 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师不填写,添加成功,执行通过 | |
387 | +2023-07-24 18:08:25,615 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师填写错误,执行通过 | |
388 | +2023-07-24 18:08:26,041 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位不能为空,执行通过 | |
389 | +2023-07-24 18:08:26,497 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位填写错误,执行通过 | |
390 | +2023-07-24 18:08:26,944 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | |
391 | +2023-07-24 18:08:27,339 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | |
392 | +2023-07-24 18:08:27,720 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | |
393 | +2023-07-24 18:08:29,500 - [test_04_Internship_preparation.py-->line:363] - INFO: 用例发布项目,执行通过 | |
394 | +2023-07-24 18:08:31,237 - [test_05_student_practice.py-->line:64] - ERROR: 用例标题查看全部实习,不通过 | |
395 | +2023-07-24 18:08:31,237 - [test_05_student_practice.py-->line:65] - ERROR: 'success' != '请求异常!' | |
396 | +- success | |
397 | ++ 请求异常! | |
398 | +Traceback (most recent call last): | |
399 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_05_student_practice.py", line 59, in test01select_allpatice | |
400 | + self.assertEqual(expected['msg'], res['msg']) | |
401 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
402 | + assertion_func(first, second, msg=msg) | |
403 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
404 | + self.fail(self._formatMessage(msg, standardMsg)) | |
405 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
406 | + raise self.failureException(msg) | |
407 | +AssertionError: 'success' != '请求异常!' | |
408 | +- success | |
409 | ++ 请求异常! | |
410 | + | |
411 | +2023-07-24 18:08:32,196 - [test_05_student_practice.py-->line:71] - INFO: 用例查看全部实习,执行通过 | |
412 | +2023-07-24 18:08:34,722 - [test_05_student_practice.py-->line:129] - INFO: 用例学生提交报名岗位,执行通过 | |
413 | +2023-07-24 18:08:35,837 - [test_06_internship_manage.py-->line:71] - INFO: 用例查看学校报名审核-待审核,执行通过 | |
414 | +2023-07-24 18:08:37,691 - [test_06_internship_manage.py-->line:127] - INFO: 用例审核成功(学校),执行通过 | |
415 | +2023-07-24 18:08:39,592 - [test_06_internship_manage.py-->line:290] - INFO: 用例学生填写开始实习时间成功,执行通过 | |
416 | +2023-07-24 18:08:40,872 - [test_06_internship_manage.py-->line:349] - INFO: 用例实习申请审核成功(学校),执行通过 | |
417 | +2023-07-24 18:08:42,589 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-日志标题不能为空,执行通过 | |
418 | +2023-07-24 18:08:43,750 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-日志标题不能超过30位,执行通过 | |
419 | +2023-07-24 18:08:44,977 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-实习单不存在,执行通过 | |
420 | +2023-07-24 18:08:46,346 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-实习单不能为空,执行通过 | |
421 | +2023-07-24 18:08:47,662 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-周日志种类不能为空,执行通过 | |
422 | +2023-07-24 18:08:48,873 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-周日志时间不能为空,执行通过 | |
423 | +2023-07-24 18:08:50,139 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周志标题不能为空,执行通过 | |
424 | +2023-07-24 18:08:51,651 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周志标题不能超过30位,执行通过 | |
425 | +2023-07-24 18:08:52,881 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-周志)-实习单不存在,执行通过 | |
426 | +2023-07-24 18:08:54,242 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-实习单不能为空,执行通过 | |
427 | +2023-07-24 18:08:55,371 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周日志种类不能为空,执行通过 | |
428 | +2023-07-24 18:08:56,622 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周日志时间不能为空,执行通过 | |
429 | +2023-07-24 18:08:57,893 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-月志标题不能为空,执行通过 | |
430 | +2023-07-24 18:08:59,188 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-月志标题不能超过30位,执行通过 | |
431 | +2023-07-24 18:09:00,489 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-实习单不存在,执行通过 | |
432 | +2023-07-24 18:09:01,808 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-实习单不能为空,执行通过 | |
433 | +2023-07-24 18:09:03,040 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-周日志种类不能为空,执行通过 | |
434 | +2023-07-24 18:09:04,329 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-周日志时间不能为空,执行通过 | |
435 | +2023-07-24 18:09:05,705 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-成功,执行通过 | |
436 | +2023-07-24 18:09:06,983 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-成功,执行通过 | |
437 | +2023-07-24 18:09:08,498 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-成功,执行通过 | |
438 | +2023-07-24 18:09:11,338 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(日志)-成功,执行通过 | |
439 | +2023-07-24 18:09:13,858 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(周志)-成功,执行通过 | |
440 | +2023-07-24 18:09:16,030 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(月志)-成功,执行通过 | |
441 | +2023-07-24 18:09:17,864 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 | |
442 | +2023-07-24 18:09:19,609 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 | |
443 | +2023-07-24 18:09:21,247 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 | ... | ... |
logs/log.log.2023-03-17
0 → 100644
此 diff 太大无法显示。
logs/log.log.2023-03-20
0 → 100644
1 | +2023-03-20 16:47:43,584 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过 | |
2 | +2023-03-20 16:47:43,830 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过 | |
3 | +2023-03-20 16:47:44,052 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过 | |
4 | +2023-03-20 16:47:44,382 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过 | |
5 | +2023-03-20 16:47:44,596 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过 | |
6 | +2023-03-20 16:47:45,535 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | |
7 | +2023-03-20 16:47:45,891 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称未填写,执行通过 | |
8 | +2023-03-20 16:47:46,180 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称重复,执行通过 | |
9 | +2023-03-20 16:47:46,458 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称长度不可大于30位,执行通过 | |
10 | +2023-03-20 16:47:46,730 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码重复,执行通过 | |
11 | +2023-03-20 16:47:47,016 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码不能为空,执行通过 | |
12 | +2023-03-20 16:47:47,289 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码长度不可大于30,执行通过 | |
13 | +2023-03-20 16:47:47,594 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | |
14 | +2023-03-20 16:47:47,922 - [test_02_system_management.py-->line:135] - INFO: 用例查看院系列表,执行通过 | |
15 | +2023-03-20 16:47:49,719 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | |
16 | +2023-03-20 16:47:50,759 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系未填写,执行通过 | |
17 | +2023-03-20 16:47:51,843 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系不存在,执行通过 | |
18 | +2023-03-20 16:47:52,982 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称未填写,执行通过 | |
19 | +2023-03-20 16:47:54,060 - [test_02_system_management.py-->line:209] - INFO: 用例专业名称长度不能大于30,执行通过 | |
20 | +2023-03-20 16:47:55,087 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称重复,执行通过 | |
21 | +2023-03-20 16:47:56,282 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码重复,执行通过 | |
22 | +2023-03-20 16:47:57,361 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码未填写,执行通过 | |
23 | +2023-03-20 16:47:58,383 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过 | |
24 | +2023-03-20 16:47:59,443 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类未填写,执行通过 | |
25 | +2023-03-20 16:48:00,520 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类填写错误,执行通过 | |
26 | +2023-03-20 16:48:01,738 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | |
27 | +2023-03-20 16:48:02,528 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | |
28 | +2023-03-20 16:48:02,835 - [test_02_system_management.py-->line:275] - INFO: 用例学年名称不可超过30字,执行通过 | |
29 | +2023-03-20 16:48:03,135 - [test_02_system_management.py-->line:275] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过 | |
30 | +2023-03-20 16:48:03,414 - [test_02_system_management.py-->line:275] - INFO: 用例学年未填写,执行通过 | |
31 | +2023-03-20 16:48:03,703 - [test_02_system_management.py-->line:275] - INFO: 用例学期未填写,执行通过 | |
32 | +2023-03-20 16:48:03,991 - [test_02_system_management.py-->line:275] - INFO: 用例学期开始时间未填写,执行通过 | |
33 | +2023-03-20 16:48:04,268 - [test_02_system_management.py-->line:275] - INFO: 用例学期结束时间未填写,执行通过 | |
34 | +2023-03-20 16:48:04,546 - [test_02_system_management.py-->line:275] - INFO: 用例学期不可超过5个学期,执行通过 | |
35 | +2023-03-20 16:48:04,859 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | |
36 | +2023-03-20 16:48:06,597 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | |
37 | +2023-03-20 16:48:06,961 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师姓名不能为空,执行通过 | |
38 | +2023-03-20 16:48:07,246 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师手机号不能为空,执行通过 | |
39 | +2023-03-20 16:48:07,563 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件类型不能为空,执行通过 | |
40 | +2023-03-20 16:48:07,871 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件号码不能为空,执行通过 | |
41 | +2023-03-20 16:48:08,187 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师角色不能为空,执行通过 | |
42 | +2023-03-20 16:48:08,649 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师性别为空,添加成功,执行通过 | |
43 | +2023-03-20 16:48:09,195 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师入职时间为空,添加成功,执行通过 | |
44 | +2023-03-20 16:48:09,699 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师邮箱为空,添加成功,执行通过 | |
45 | +2023-03-20 16:48:10,216 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师工号为空,添加成功,执行通过 | |
46 | +2023-03-20 16:48:10,670 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | |
47 | +2023-03-20 16:48:13,593 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | |
48 | +2023-03-20 16:48:13,870 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称未填写,执行通过 | |
49 | +2023-03-20 16:48:14,168 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称已存在,执行通过 | |
50 | +2023-03-20 16:48:14,464 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制未填写,执行通过 | |
51 | +2023-03-20 16:48:14,733 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | |
52 | +2023-03-20 16:48:15,036 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | |
53 | +2023-03-20 16:48:15,320 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例入学年份未填写,执行通过 | |
54 | +2023-03-20 16:48:15,613 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业未填写,执行通过 | |
55 | +2023-03-20 16:48:15,903 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业填写错误,执行通过 | |
56 | +2023-03-20 16:48:16,221 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系可以为空,执行通过 | |
57 | +2023-03-20 16:48:16,537 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系下没有该专业,执行通过 | |
58 | +2023-03-20 16:48:16,847 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师未填写,添加成功,执行通过 | |
59 | +2023-03-20 16:48:17,147 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师填写错误,执行通过 | |
60 | +2023-03-20 16:48:17,507 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | |
61 | +2023-03-20 16:48:20,304 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例新增课程,执行通过 | |
62 | +2023-03-20 16:48:20,591 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例课程名称不能为空,执行通过 | |
63 | +2023-03-20 16:48:20,897 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例课程名称不能超过30字,执行通过 | |
64 | +2023-03-20 16:48:21,191 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例实践类型不能为空,执行通过 | |
65 | +2023-03-20 16:48:21,479 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例院系不能为空,执行通过 | |
66 | +2023-03-20 16:48:21,784 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例院系不能为空,执行通过 | |
67 | +2023-03-20 16:48:22,067 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学分不能为空,执行通过 | |
68 | +2023-03-20 16:48:22,372 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例修读性质不能为空,执行通过 | |
69 | +2023-03-20 16:48:22,686 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例修读性质填写错误,执行通过 | |
70 | +2023-03-20 16:48:23,224 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学时(周数)不能为空,执行通过 | |
71 | +2023-03-20 16:48:23,790 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学期不能为空,执行通过 | |
72 | +2023-03-20 16:48:24,119 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例专业不能为空,执行通过 | |
73 | +2023-03-20 16:48:24,433 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例专业填写错误,执行通过 | |
74 | +2023-03-20 16:48:24,801 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例新增课程,执行通过 | |
75 | +2023-03-20 16:48:29,179 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例新增学生成功,执行通过 | |
76 | +2023-03-20 16:48:29,502 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学生姓名未填写失败,执行通过 | |
77 | +2023-03-20 16:48:29,825 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学生学号未填写失败,执行通过 | |
78 | +2023-03-20 16:48:30,320 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例手机号未填写,添加成功,执行通过 | |
79 | +2023-03-20 16:48:31,050 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例入学年份未填写,添加失败,执行通过 | |
80 | +2023-03-20 16:48:31,373 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例班级未填写,添加失败,执行通过 | |
81 | +2023-03-20 16:48:31,732 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型和证件号码都没填写,添加成功,执行通过 | |
82 | +2023-03-20 16:48:32,027 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型未填,证件号码填写,添加失败,执行通过 | |
83 | +2023-03-20 16:48:32,348 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型填写,证件号码未填写,添加失败,执行通过 | |
84 | +2023-03-20 16:48:32,721 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例性别未填写,添加成功,执行通过 | |
85 | +2023-03-20 16:48:33,095 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学籍状态未填写,添加成功,执行通过 | |
86 | +2023-03-20 16:48:33,458 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例培养方向未填写,添加成功,执行通过 | |
87 | +2023-03-20 16:48:33,818 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例其他-备注未填写,添加成功,执行通过 | |
88 | +2023-03-20 16:48:34,111 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例院系ID未填写,添加失败,执行通过 | |
89 | +2023-03-20 16:48:34,428 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例专业ID未填写添加失败,执行通过 | |
90 | +2023-03-20 16:48:34,814 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例新增学生成功,执行通过 | |
91 | +2023-03-20 16:48:41,184 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | |
92 | +2023-03-20 16:48:41,526 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能为空,执行通过 | |
93 | +2023-03-20 16:48:41,857 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能大于30位,执行通过 | |
94 | +2023-03-20 16:48:42,141 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不能为空,执行通过 | |
95 | +2023-03-20 16:48:42,633 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不存在,执行通过 | |
96 | +2023-03-20 16:48:42,993 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例班级不能为空,执行通过 | |
97 | +2023-03-20 16:48:43,392 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例班级不存在,执行通过 | |
98 | +2023-03-20 16:48:43,728 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划开始时间不能为空,执行通过 | |
99 | +2023-03-20 16:48:44,082 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划结束时间不能为空,执行通过 | |
100 | +2023-03-20 16:48:44,428 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例负责老师为空,添加成功,执行通过 | |
101 | +2023-03-20 16:48:44,805 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例教师不存在,添加失败,执行通过 | |
102 | +2023-03-20 16:48:45,183 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的为空,添加成功,执行通过 | |
103 | +2023-03-20 16:48:45,494 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的不能超过100位,执行通过 | |
104 | +2023-03-20 16:48:45,865 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)未填写,添加成功,执行通过 | |
105 | +2023-03-20 16:48:46,186 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)长度不能超过200位,执行通过 | |
106 | +2023-03-20 16:48:46,508 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式不能为空,执行通过 | |
107 | +2023-03-20 16:48:46,876 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为集中,添加成功--集中,执行通过 | |
108 | +2023-03-20 16:48:47,244 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为自主,添加成功--自主,执行通过 | |
109 | +2023-03-20 16:48:47,536 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交开始时间不能为空,执行通过 | |
110 | +2023-03-20 16:48:47,850 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交结束时间不能为空,执行通过 | |
111 | +2023-03-20 16:48:48,205 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例报告模块路径为空,添加成功,执行通过 | |
112 | +2023-03-20 16:48:48,571 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容为空,添加成功,执行通过 | |
113 | +2023-03-20 16:48:48,965 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容长度不能大于500位,执行通过 | |
114 | +2023-03-20 16:48:49,287 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系不能为空,执行通过 | |
115 | +2023-03-20 16:48:49,639 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系填写错误,执行通过 | |
116 | +2023-03-20 16:48:50,024 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写为空,添加成功,执行通过 | |
117 | +2023-03-20 16:48:50,417 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写错误,执行通过 | |
118 | +2023-03-20 16:48:50,749 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期不能为空,执行通过 | |
119 | +2023-03-20 16:48:51,088 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期填写错误,执行通过 | |
120 | +2023-03-20 16:48:51,474 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | |
121 | +2023-03-20 16:48:51,869 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例创建计划,方便使用的数据,自主,执行通过 | |
122 | +2023-03-20 16:48:53,488 - [test_04_Internship_preparation.py-->line:209] - INFO: 用例发布计划,执行通过 | |
123 | +2023-03-20 16:48:56,536 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | |
124 | +2023-03-20 16:48:56,968 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-不允许自行填报企业信息),执行通过 | |
125 | +2023-03-20 16:48:57,368 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-允许自行填报企业信息),执行通过 | |
126 | +2023-03-20 16:48:57,795 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息),执行通过 | |
127 | +2023-03-20 16:48:58,090 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能为空,执行通过 | |
128 | +2023-03-20 16:48:58,446 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能大于30位,执行通过 | |
129 | +2023-03-20 16:48:58,788 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不能为空,执行通过 | |
130 | +2023-03-20 16:48:59,117 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不匹配,执行通过 | |
131 | +2023-03-20 16:48:59,429 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式不能为空,执行通过 | |
132 | +2023-03-20 16:48:59,744 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式填写错误,执行通过 | |
133 | +2023-03-20 16:49:00,151 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不填写,添加成功,执行通过 | |
134 | +2023-03-20 16:49:00,465 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不能大于500,执行通过 | |
135 | +2023-03-20 16:49:00,792 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习开始时间不能为空,执行通过 | |
136 | +2023-03-20 16:49:01,127 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习结束时间不能为空,执行通过 | |
137 | +2023-03-20 16:49:01,445 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目开始日期需早于项目结束日期,执行通过 | |
138 | +2023-03-20 16:49:01,808 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
139 | +2023-03-20 16:49:01,808 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != 'success' | |
140 | +- 报名审核填写错误 | |
141 | ++ success | |
142 | +Traceback (most recent call last): | |
143 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
144 | + self.assertEqual(expected['msg'], res['msg']) | |
145 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
146 | + assertion_func(first, second, msg=msg) | |
147 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
148 | + self.fail(self._formatMessage(msg, standardMsg)) | |
149 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
150 | + raise self.failureException(msg) | |
151 | +AssertionError: '报名审核填写错误' != 'success' | |
152 | +- 报名审核填写错误 | |
153 | ++ success | |
154 | + | |
155 | +2023-03-20 16:49:02,277 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
156 | +2023-03-20 16:49:02,278 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
157 | +- 报名审核填写错误 | |
158 | ++ 项目名称已存在 | |
159 | +Traceback (most recent call last): | |
160 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
161 | + self.assertEqual(expected['msg'], res['msg']) | |
162 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
163 | + assertion_func(first, second, msg=msg) | |
164 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
165 | + self.fail(self._formatMessage(msg, standardMsg)) | |
166 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
167 | + raise self.failureException(msg) | |
168 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
169 | +- 报名审核填写错误 | |
170 | ++ 项目名称已存在 | |
171 | + | |
172 | +2023-03-20 16:49:02,742 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
173 | +2023-03-20 16:49:02,742 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
174 | +- 报名审核填写错误 | |
175 | ++ 项目名称已存在 | |
176 | +Traceback (most recent call last): | |
177 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
178 | + self.assertEqual(expected['msg'], res['msg']) | |
179 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
180 | + assertion_func(first, second, msg=msg) | |
181 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
182 | + self.fail(self._formatMessage(msg, standardMsg)) | |
183 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
184 | + raise self.failureException(msg) | |
185 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
186 | +- 报名审核填写错误 | |
187 | ++ 项目名称已存在 | |
188 | + | |
189 | +2023-03-20 16:49:03,206 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
190 | +2023-03-20 16:49:03,206 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
191 | +- 报名审核填写错误 | |
192 | ++ 项目名称已存在 | |
193 | +Traceback (most recent call last): | |
194 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
195 | + self.assertEqual(expected['msg'], res['msg']) | |
196 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
197 | + assertion_func(first, second, msg=msg) | |
198 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
199 | + self.fail(self._formatMessage(msg, standardMsg)) | |
200 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
201 | + raise self.failureException(msg) | |
202 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
203 | +- 报名审核填写错误 | |
204 | ++ 项目名称已存在 | |
205 | + | |
206 | +2023-03-20 16:49:03,576 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
207 | +2023-03-20 16:49:03,576 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != 'success' | |
208 | +- 报名审核不能为空 | |
209 | ++ success | |
210 | +Traceback (most recent call last): | |
211 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
212 | + self.assertEqual(expected['msg'], res['msg']) | |
213 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
214 | + assertion_func(first, second, msg=msg) | |
215 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
216 | + self.fail(self._formatMessage(msg, standardMsg)) | |
217 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
218 | + raise self.failureException(msg) | |
219 | +AssertionError: '报名审核不能为空' != 'success' | |
220 | +- 报名审核不能为空 | |
221 | ++ success | |
222 | + | |
223 | +2023-03-20 16:49:04,058 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
224 | +2023-03-20 16:49:04,058 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
225 | +- 报名审核不能为空 | |
226 | ++ 项目名称已存在 | |
227 | +Traceback (most recent call last): | |
228 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
229 | + self.assertEqual(expected['msg'], res['msg']) | |
230 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
231 | + assertion_func(first, second, msg=msg) | |
232 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
233 | + self.fail(self._formatMessage(msg, standardMsg)) | |
234 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
235 | + raise self.failureException(msg) | |
236 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
237 | +- 报名审核不能为空 | |
238 | ++ 项目名称已存在 | |
239 | + | |
240 | +2023-03-20 16:49:04,536 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
241 | +2023-03-20 16:49:04,536 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
242 | +- 报名审核不能为空 | |
243 | ++ 项目名称已存在 | |
244 | +Traceback (most recent call last): | |
245 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
246 | + self.assertEqual(expected['msg'], res['msg']) | |
247 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
248 | + assertion_func(first, second, msg=msg) | |
249 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
250 | + self.fail(self._formatMessage(msg, standardMsg)) | |
251 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
252 | + raise self.failureException(msg) | |
253 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
254 | +- 报名审核不能为空 | |
255 | ++ 项目名称已存在 | |
256 | + | |
257 | +2023-03-20 16:49:05,020 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
258 | +2023-03-20 16:49:05,021 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
259 | +- 报名审核不能为空 | |
260 | ++ 项目名称已存在 | |
261 | +Traceback (most recent call last): | |
262 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
263 | + self.assertEqual(expected['msg'], res['msg']) | |
264 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
265 | + assertion_func(first, second, msg=msg) | |
266 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
267 | + self.fail(self._formatMessage(msg, standardMsg)) | |
268 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
269 | + raise self.failureException(msg) | |
270 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
271 | +- 报名审核不能为空 | |
272 | ++ 项目名称已存在 | |
273 | + | |
274 | +2023-03-20 16:49:05,374 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
275 | +2023-03-20 16:49:05,375 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != 'success' | |
276 | +- 实习计划不匹配 | |
277 | ++ success | |
278 | +Traceback (most recent call last): | |
279 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
280 | + self.assertEqual(expected['msg'], res['msg']) | |
281 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
282 | + assertion_func(first, second, msg=msg) | |
283 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
284 | + self.fail(self._formatMessage(msg, standardMsg)) | |
285 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
286 | + raise self.failureException(msg) | |
287 | +AssertionError: '实习计划不匹配' != 'success' | |
288 | +- 实习计划不匹配 | |
289 | ++ success | |
290 | + | |
291 | +2023-03-20 16:49:05,846 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
292 | +2023-03-20 16:49:05,846 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
293 | +- 实习计划不匹配 | |
294 | ++ 项目名称已存在 | |
295 | +Traceback (most recent call last): | |
296 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
297 | + self.assertEqual(expected['msg'], res['msg']) | |
298 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
299 | + assertion_func(first, second, msg=msg) | |
300 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
301 | + self.fail(self._formatMessage(msg, standardMsg)) | |
302 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
303 | + raise self.failureException(msg) | |
304 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
305 | +- 实习计划不匹配 | |
306 | ++ 项目名称已存在 | |
307 | + | |
308 | +2023-03-20 16:49:06,313 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
309 | +2023-03-20 16:49:06,313 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
310 | +- 实习计划不匹配 | |
311 | ++ 项目名称已存在 | |
312 | +Traceback (most recent call last): | |
313 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
314 | + self.assertEqual(expected['msg'], res['msg']) | |
315 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
316 | + assertion_func(first, second, msg=msg) | |
317 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
318 | + self.fail(self._formatMessage(msg, standardMsg)) | |
319 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
320 | + raise self.failureException(msg) | |
321 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
322 | +- 实习计划不匹配 | |
323 | ++ 项目名称已存在 | |
324 | + | |
325 | +2023-03-20 16:49:06,819 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
326 | +2023-03-20 16:49:06,820 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
327 | +- 实习计划不匹配 | |
328 | ++ 项目名称已存在 | |
329 | +Traceback (most recent call last): | |
330 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
331 | + self.assertEqual(expected['msg'], res['msg']) | |
332 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
333 | + assertion_func(first, second, msg=msg) | |
334 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
335 | + self.fail(self._formatMessage(msg, standardMsg)) | |
336 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
337 | + raise self.failureException(msg) | |
338 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
339 | +- 实习计划不匹配 | |
340 | ++ 项目名称已存在 | |
341 | + | |
342 | +2023-03-20 16:49:07,160 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
343 | +2023-03-20 16:49:07,160 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != 'success' | |
344 | +- 自行填报企业信息不能为空 | |
345 | ++ success | |
346 | +Traceback (most recent call last): | |
347 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
348 | + self.assertEqual(expected['msg'], res['msg']) | |
349 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
350 | + assertion_func(first, second, msg=msg) | |
351 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
352 | + self.fail(self._formatMessage(msg, standardMsg)) | |
353 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
354 | + raise self.failureException(msg) | |
355 | +AssertionError: '自行填报企业信息不能为空' != 'success' | |
356 | +- 自行填报企业信息不能为空 | |
357 | ++ success | |
358 | + | |
359 | +2023-03-20 16:49:07,638 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
360 | +2023-03-20 16:49:07,638 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
361 | +- 自行填报企业信息不能为空 | |
362 | ++ 项目名称已存在 | |
363 | +Traceback (most recent call last): | |
364 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
365 | + self.assertEqual(expected['msg'], res['msg']) | |
366 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
367 | + assertion_func(first, second, msg=msg) | |
368 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
369 | + self.fail(self._formatMessage(msg, standardMsg)) | |
370 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
371 | + raise self.failureException(msg) | |
372 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
373 | +- 自行填报企业信息不能为空 | |
374 | ++ 项目名称已存在 | |
375 | + | |
376 | +2023-03-20 16:49:08,141 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
377 | +2023-03-20 16:49:08,141 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
378 | +- 自行填报企业信息不能为空 | |
379 | ++ 项目名称已存在 | |
380 | +Traceback (most recent call last): | |
381 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
382 | + self.assertEqual(expected['msg'], res['msg']) | |
383 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
384 | + assertion_func(first, second, msg=msg) | |
385 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
386 | + self.fail(self._formatMessage(msg, standardMsg)) | |
387 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
388 | + raise self.failureException(msg) | |
389 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
390 | +- 自行填报企业信息不能为空 | |
391 | ++ 项目名称已存在 | |
392 | + | |
393 | +2023-03-20 16:49:08,705 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
394 | +2023-03-20 16:49:08,705 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
395 | +- 自行填报企业信息不能为空 | |
396 | ++ 项目名称已存在 | |
397 | +Traceback (most recent call last): | |
398 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
399 | + self.assertEqual(expected['msg'], res['msg']) | |
400 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
401 | + assertion_func(first, second, msg=msg) | |
402 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
403 | + self.fail(self._formatMessage(msg, standardMsg)) | |
404 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
405 | + raise self.failureException(msg) | |
406 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
407 | +- 自行填报企业信息不能为空 | |
408 | ++ 项目名称已存在 | |
409 | + | |
410 | +2023-03-20 16:49:09,107 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生不能为空,执行通过 | |
411 | +2023-03-20 16:49:09,491 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生填写错误,执行通过 | |
412 | +2023-03-20 16:49:09,870 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师不填写,添加成功,执行通过 | |
413 | +2023-03-20 16:49:10,210 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师填写错误,执行通过 | |
414 | +2023-03-20 16:49:10,599 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位不能为空,执行通过 | |
415 | +2023-03-20 16:49:11,038 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位填写错误,执行通过 | |
416 | +2023-03-20 16:49:11,458 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | |
417 | +2023-03-20 16:49:11,933 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | |
418 | +2023-03-20 16:49:12,428 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | |
419 | +2023-03-20 16:49:14,170 - [test_04_Internship_preparation.py-->line:363] - INFO: 用例发布项目,执行通过 | |
420 | +2023-03-20 16:49:15,865 - [test_05_student_practice.py-->line:71] - INFO: 用例查看全部实习,执行通过 | |
421 | +2023-03-20 16:49:18,833 - [test_05_student_practice.py-->line:129] - INFO: 用例学生提交报名岗位,执行通过 | |
422 | +2023-03-20 16:49:19,859 - [test_06_internship_manage.py-->line:71] - INFO: 用例查看学校报名审核-待审核,执行通过 | |
423 | +2023-03-20 16:49:21,871 - [test_06_internship_manage.py-->line:127] - INFO: 用例审核成功(学校),执行通过 | |
424 | +2023-03-20 16:49:23,851 - [test_06_internship_manage.py-->line:290] - INFO: 用例学生填写开始实习时间成功,执行通过 | |
425 | +2023-03-20 16:49:25,256 - [test_06_internship_manage.py-->line:349] - INFO: 用例实习申请审核成功(学校),执行通过 | |
426 | +2023-03-20 16:49:27,019 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-成功,执行通过 | |
427 | +2023-03-20 16:49:28,391 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-成功,执行通过 | |
428 | +2023-03-20 16:49:29,935 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-成功,执行通过 | |
429 | +2023-03-20 16:49:32,664 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(日志)-成功,执行通过 | |
430 | +2023-03-20 16:49:34,868 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(周志)-成功,执行通过 | |
431 | +2023-03-20 16:49:37,124 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(月志)-成功,执行通过 | |
432 | +2023-03-20 16:49:39,568 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 | |
433 | +2023-03-20 16:49:41,232 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 | |
434 | +2023-03-20 16:49:42,527 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 | |
435 | +2023-03-20 18:01:12,422 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过 | |
436 | +2023-03-20 18:01:12,678 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过 | |
437 | +2023-03-20 18:01:12,918 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过 | |
438 | +2023-03-20 18:01:13,231 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过 | |
439 | +2023-03-20 18:01:13,430 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过 | |
440 | +2023-03-20 18:01:14,064 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | |
441 | +2023-03-20 18:01:14,345 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称未填写,执行通过 | |
442 | +2023-03-20 18:01:14,628 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称重复,执行通过 | |
443 | +2023-03-20 18:01:14,963 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称长度不可大于30位,执行通过 | |
444 | +2023-03-20 18:01:15,264 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码重复,执行通过 | |
445 | +2023-03-20 18:01:15,563 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码不能为空,执行通过 | |
446 | +2023-03-20 18:01:15,869 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码长度不可大于30,执行通过 | |
447 | +2023-03-20 18:01:16,194 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | |
448 | +2023-03-20 18:01:16,536 - [test_02_system_management.py-->line:135] - INFO: 用例查看院系列表,执行通过 | |
449 | +2023-03-20 18:01:18,188 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | |
450 | +2023-03-20 18:01:19,407 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系未填写,执行通过 | |
451 | +2023-03-20 18:01:20,618 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系不存在,执行通过 | |
452 | +2023-03-20 18:01:21,734 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称未填写,执行通过 | |
453 | +2023-03-20 18:01:22,869 - [test_02_system_management.py-->line:209] - INFO: 用例专业名称长度不能大于30,执行通过 | |
454 | +2023-03-20 18:01:24,007 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称重复,执行通过 | |
455 | +2023-03-20 18:01:25,153 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码重复,执行通过 | |
456 | +2023-03-20 18:01:26,286 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码未填写,执行通过 | |
457 | +2023-03-20 18:01:27,538 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过 | |
458 | +2023-03-20 18:01:28,656 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类未填写,执行通过 | |
459 | +2023-03-20 18:01:29,730 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类填写错误,执行通过 | |
460 | +2023-03-20 18:01:30,792 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | |
461 | +2023-03-20 18:01:31,438 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | |
462 | +2023-03-20 18:01:31,708 - [test_02_system_management.py-->line:275] - INFO: 用例学年名称不可超过30字,执行通过 | |
463 | +2023-03-20 18:01:32,006 - [test_02_system_management.py-->line:275] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过 | |
464 | +2023-03-20 18:01:32,296 - [test_02_system_management.py-->line:275] - INFO: 用例学年未填写,执行通过 | |
465 | +2023-03-20 18:01:32,590 - [test_02_system_management.py-->line:275] - INFO: 用例学期未填写,执行通过 | |
466 | +2023-03-20 18:01:32,879 - [test_02_system_management.py-->line:275] - INFO: 用例学期开始时间未填写,执行通过 | |
467 | +2023-03-20 18:01:33,168 - [test_02_system_management.py-->line:275] - INFO: 用例学期结束时间未填写,执行通过 | |
468 | +2023-03-20 18:01:33,453 - [test_02_system_management.py-->line:275] - INFO: 用例学期不可超过5个学期,执行通过 | |
469 | +2023-03-20 18:01:33,753 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | |
470 | +2023-03-20 18:01:35,433 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | |
471 | +2023-03-20 18:01:35,751 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师姓名不能为空,执行通过 | |
472 | +2023-03-20 18:01:36,029 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师手机号不能为空,执行通过 | |
473 | +2023-03-20 18:01:36,388 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件类型不能为空,执行通过 | |
474 | +2023-03-20 18:01:36,698 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件号码不能为空,执行通过 | |
475 | +2023-03-20 18:01:36,999 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师角色不能为空,执行通过 | |
476 | +2023-03-20 18:01:37,458 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师性别为空,添加成功,执行通过 | |
477 | +2023-03-20 18:01:37,927 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师入职时间为空,添加成功,执行通过 | |
478 | +2023-03-20 18:01:38,432 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师邮箱为空,添加成功,执行通过 | |
479 | +2023-03-20 18:01:38,895 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师工号为空,添加成功,执行通过 | |
480 | +2023-03-20 18:01:39,367 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | |
481 | +2023-03-20 18:01:42,555 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | |
482 | +2023-03-20 18:01:42,865 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称未填写,执行通过 | |
483 | +2023-03-20 18:01:43,177 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称已存在,执行通过 | |
484 | +2023-03-20 18:01:43,493 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制未填写,执行通过 | |
485 | +2023-03-20 18:01:43,819 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | |
486 | +2023-03-20 18:01:44,256 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | |
487 | +2023-03-20 18:01:44,749 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例入学年份未填写,执行通过 | |
488 | +2023-03-20 18:01:45,272 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业未填写,执行通过 | |
489 | +2023-03-20 18:01:45,606 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业填写错误,执行通过 | |
490 | +2023-03-20 18:01:45,967 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系可以为空,执行通过 | |
491 | +2023-03-20 18:01:46,298 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系下没有该专业,执行通过 | |
492 | +2023-03-20 18:01:46,621 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师未填写,添加成功,执行通过 | |
493 | +2023-03-20 18:01:46,978 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师填写错误,执行通过 | |
494 | +2023-03-20 18:01:47,389 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | |
495 | +2023-03-20 18:01:50,288 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例新增课程,执行通过 | |
496 | +2023-03-20 18:01:50,582 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例课程名称不能为空,执行通过 | |
497 | +2023-03-20 18:01:50,888 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例课程名称不能超过30字,执行通过 | |
498 | +2023-03-20 18:01:51,191 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例实践类型不能为空,执行通过 | |
499 | +2023-03-20 18:01:51,477 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例院系不能为空,执行通过 | |
500 | +2023-03-20 18:01:51,786 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例院系不能为空,执行通过 | |
501 | +2023-03-20 18:01:52,091 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学分不能为空,执行通过 | |
502 | +2023-03-20 18:01:52,394 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例修读性质不能为空,执行通过 | |
503 | +2023-03-20 18:01:52,694 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例修读性质填写错误,执行通过 | |
504 | +2023-03-20 18:01:53,035 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学时(周数)不能为空,执行通过 | |
505 | +2023-03-20 18:01:53,381 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学期不能为空,执行通过 | |
506 | +2023-03-20 18:01:53,684 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例专业不能为空,执行通过 | |
507 | +2023-03-20 18:01:53,982 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例专业填写错误,执行通过 | |
508 | +2023-03-20 18:01:54,304 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例新增课程,执行通过 | |
509 | +2023-03-20 18:01:58,435 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例新增学生成功,执行通过 | |
510 | +2023-03-20 18:01:58,750 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学生姓名未填写失败,执行通过 | |
511 | +2023-03-20 18:01:59,055 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学生学号未填写失败,执行通过 | |
512 | +2023-03-20 18:01:59,417 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例手机号未填写,添加成功,执行通过 | |
513 | +2023-03-20 18:01:59,768 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例入学年份未填写,添加失败,执行通过 | |
514 | +2023-03-20 18:02:00,078 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例班级未填写,添加失败,执行通过 | |
515 | +2023-03-20 18:02:00,447 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型和证件号码都没填写,添加成功,执行通过 | |
516 | +2023-03-20 18:02:00,924 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型未填,证件号码填写,添加失败,执行通过 | |
517 | +2023-03-20 18:02:01,258 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型填写,证件号码未填写,添加失败,执行通过 | |
518 | +2023-03-20 18:02:01,701 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例性别未填写,添加成功,执行通过 | |
519 | +2023-03-20 18:02:02,182 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学籍状态未填写,添加成功,执行通过 | |
520 | +2023-03-20 18:02:02,640 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例培养方向未填写,添加成功,执行通过 | |
521 | +2023-03-20 18:02:03,037 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例其他-备注未填写,添加成功,执行通过 | |
522 | +2023-03-20 18:02:03,398 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例院系ID未填写,添加失败,执行通过 | |
523 | +2023-03-20 18:02:03,694 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例专业ID未填写添加失败,执行通过 | |
524 | +2023-03-20 18:02:04,084 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例新增学生成功,执行通过 | |
525 | +2023-03-20 18:02:09,980 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | |
526 | +2023-03-20 18:02:10,295 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能为空,执行通过 | |
527 | +2023-03-20 18:02:10,610 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能大于30位,执行通过 | |
528 | +2023-03-20 18:02:10,922 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不能为空,执行通过 | |
529 | +2023-03-20 18:02:11,391 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不存在,执行通过 | |
530 | +2023-03-20 18:02:11,880 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例班级不能为空,执行通过 | |
531 | +2023-03-20 18:02:12,262 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例班级不存在,执行通过 | |
532 | +2023-03-20 18:02:12,647 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划开始时间不能为空,执行通过 | |
533 | +2023-03-20 18:02:13,031 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划结束时间不能为空,执行通过 | |
534 | +2023-03-20 18:02:13,427 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例负责老师为空,添加成功,执行通过 | |
535 | +2023-03-20 18:02:13,797 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例教师不存在,添加失败,执行通过 | |
536 | +2023-03-20 18:02:14,185 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的为空,添加成功,执行通过 | |
537 | +2023-03-20 18:02:14,566 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的不能超过100位,执行通过 | |
538 | +2023-03-20 18:02:14,960 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)未填写,添加成功,执行通过 | |
539 | +2023-03-20 18:02:15,268 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)长度不能超过200位,执行通过 | |
540 | +2023-03-20 18:02:15,638 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式不能为空,执行通过 | |
541 | +2023-03-20 18:02:15,996 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为集中,添加成功--集中,执行通过 | |
542 | +2023-03-20 18:02:16,352 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为自主,添加成功--自主,执行通过 | |
543 | +2023-03-20 18:02:16,676 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交开始时间不能为空,执行通过 | |
544 | +2023-03-20 18:02:17,023 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交结束时间不能为空,执行通过 | |
545 | +2023-03-20 18:02:17,510 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例报告模块路径为空,添加成功,执行通过 | |
546 | +2023-03-20 18:02:18,010 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容为空,添加成功,执行通过 | |
547 | +2023-03-20 18:02:18,389 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容长度不能大于500位,执行通过 | |
548 | +2023-03-20 18:02:18,757 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系不能为空,执行通过 | |
549 | +2023-03-20 18:02:19,108 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系填写错误,执行通过 | |
550 | +2023-03-20 18:02:19,531 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写为空,添加成功,执行通过 | |
551 | +2023-03-20 18:02:19,903 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写错误,执行通过 | |
552 | +2023-03-20 18:02:20,285 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期不能为空,执行通过 | |
553 | +2023-03-20 18:02:20,673 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期填写错误,执行通过 | |
554 | +2023-03-20 18:02:21,112 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | |
555 | +2023-03-20 18:02:21,568 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例创建计划,方便使用的数据,自主,执行通过 | |
556 | +2023-03-20 18:02:23,088 - [test_04_Internship_preparation.py-->line:209] - INFO: 用例发布计划,执行通过 | |
557 | +2023-03-20 18:02:26,172 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | |
558 | +2023-03-20 18:02:26,625 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-不允许自行填报企业信息),执行通过 | |
559 | +2023-03-20 18:02:27,055 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-允许自行填报企业信息),执行通过 | |
560 | +2023-03-20 18:02:27,501 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息),执行通过 | |
561 | +2023-03-20 18:02:27,806 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能为空,执行通过 | |
562 | +2023-03-20 18:02:28,157 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能大于30位,执行通过 | |
563 | +2023-03-20 18:02:28,483 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不能为空,执行通过 | |
564 | +2023-03-20 18:02:28,824 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不匹配,执行通过 | |
565 | +2023-03-20 18:02:29,149 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式不能为空,执行通过 | |
566 | +2023-03-20 18:02:29,492 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式填写错误,执行通过 | |
567 | +2023-03-20 18:02:29,903 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不填写,添加成功,执行通过 | |
568 | +2023-03-20 18:02:30,212 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不能大于500,执行通过 | |
569 | +2023-03-20 18:02:30,535 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习开始时间不能为空,执行通过 | |
570 | +2023-03-20 18:02:30,843 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习结束时间不能为空,执行通过 | |
571 | +2023-03-20 18:02:31,152 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目开始日期需早于项目结束日期,执行通过 | |
572 | +2023-03-20 18:02:31,501 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
573 | +2023-03-20 18:02:31,501 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != 'success' | |
574 | +- 报名审核填写错误 | |
575 | ++ success | |
576 | +Traceback (most recent call last): | |
577 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
578 | + self.assertEqual(expected['msg'], res['msg']) | |
579 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
580 | + assertion_func(first, second, msg=msg) | |
581 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
582 | + self.fail(self._formatMessage(msg, standardMsg)) | |
583 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
584 | + raise self.failureException(msg) | |
585 | +AssertionError: '报名审核填写错误' != 'success' | |
586 | +- 报名审核填写错误 | |
587 | ++ success | |
588 | + | |
589 | +2023-03-20 18:02:31,960 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
590 | +2023-03-20 18:02:31,960 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
591 | +- 报名审核填写错误 | |
592 | ++ 项目名称已存在 | |
593 | +Traceback (most recent call last): | |
594 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
595 | + self.assertEqual(expected['msg'], res['msg']) | |
596 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
597 | + assertion_func(first, second, msg=msg) | |
598 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
599 | + self.fail(self._formatMessage(msg, standardMsg)) | |
600 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
601 | + raise self.failureException(msg) | |
602 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
603 | +- 报名审核填写错误 | |
604 | ++ 项目名称已存在 | |
605 | + | |
606 | +2023-03-20 18:02:32,464 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
607 | +2023-03-20 18:02:32,464 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
608 | +- 报名审核填写错误 | |
609 | ++ 项目名称已存在 | |
610 | +Traceback (most recent call last): | |
611 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
612 | + self.assertEqual(expected['msg'], res['msg']) | |
613 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
614 | + assertion_func(first, second, msg=msg) | |
615 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
616 | + self.fail(self._formatMessage(msg, standardMsg)) | |
617 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
618 | + raise self.failureException(msg) | |
619 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
620 | +- 报名审核填写错误 | |
621 | ++ 项目名称已存在 | |
622 | + | |
623 | +2023-03-20 18:02:32,933 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
624 | +2023-03-20 18:02:32,933 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
625 | +- 报名审核填写错误 | |
626 | ++ 项目名称已存在 | |
627 | +Traceback (most recent call last): | |
628 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
629 | + self.assertEqual(expected['msg'], res['msg']) | |
630 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
631 | + assertion_func(first, second, msg=msg) | |
632 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
633 | + self.fail(self._formatMessage(msg, standardMsg)) | |
634 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
635 | + raise self.failureException(msg) | |
636 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
637 | +- 报名审核填写错误 | |
638 | ++ 项目名称已存在 | |
639 | + | |
640 | +2023-03-20 18:02:33,290 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
641 | +2023-03-20 18:02:33,291 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != 'success' | |
642 | +- 报名审核不能为空 | |
643 | ++ success | |
644 | +Traceback (most recent call last): | |
645 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
646 | + self.assertEqual(expected['msg'], res['msg']) | |
647 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
648 | + assertion_func(first, second, msg=msg) | |
649 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
650 | + self.fail(self._formatMessage(msg, standardMsg)) | |
651 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
652 | + raise self.failureException(msg) | |
653 | +AssertionError: '报名审核不能为空' != 'success' | |
654 | +- 报名审核不能为空 | |
655 | ++ success | |
656 | + | |
657 | +2023-03-20 18:02:33,740 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
658 | +2023-03-20 18:02:33,741 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
659 | +- 报名审核不能为空 | |
660 | ++ 项目名称已存在 | |
661 | +Traceback (most recent call last): | |
662 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
663 | + self.assertEqual(expected['msg'], res['msg']) | |
664 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
665 | + assertion_func(first, second, msg=msg) | |
666 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
667 | + self.fail(self._formatMessage(msg, standardMsg)) | |
668 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
669 | + raise self.failureException(msg) | |
670 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
671 | +- 报名审核不能为空 | |
672 | ++ 项目名称已存在 | |
673 | + | |
674 | +2023-03-20 18:02:34,217 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
675 | +2023-03-20 18:02:34,217 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
676 | +- 报名审核不能为空 | |
677 | ++ 项目名称已存在 | |
678 | +Traceback (most recent call last): | |
679 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
680 | + self.assertEqual(expected['msg'], res['msg']) | |
681 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
682 | + assertion_func(first, second, msg=msg) | |
683 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
684 | + self.fail(self._formatMessage(msg, standardMsg)) | |
685 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
686 | + raise self.failureException(msg) | |
687 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
688 | +- 报名审核不能为空 | |
689 | ++ 项目名称已存在 | |
690 | + | |
691 | +2023-03-20 18:02:34,704 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
692 | +2023-03-20 18:02:34,704 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
693 | +- 报名审核不能为空 | |
694 | ++ 项目名称已存在 | |
695 | +Traceback (most recent call last): | |
696 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
697 | + self.assertEqual(expected['msg'], res['msg']) | |
698 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
699 | + assertion_func(first, second, msg=msg) | |
700 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
701 | + self.fail(self._formatMessage(msg, standardMsg)) | |
702 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
703 | + raise self.failureException(msg) | |
704 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
705 | +- 报名审核不能为空 | |
706 | ++ 项目名称已存在 | |
707 | + | |
708 | +2023-03-20 18:02:35,048 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
709 | +2023-03-20 18:02:35,048 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != 'success' | |
710 | +- 实习计划不匹配 | |
711 | ++ success | |
712 | +Traceback (most recent call last): | |
713 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
714 | + self.assertEqual(expected['msg'], res['msg']) | |
715 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
716 | + assertion_func(first, second, msg=msg) | |
717 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
718 | + self.fail(self._formatMessage(msg, standardMsg)) | |
719 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
720 | + raise self.failureException(msg) | |
721 | +AssertionError: '实习计划不匹配' != 'success' | |
722 | +- 实习计划不匹配 | |
723 | ++ success | |
724 | + | |
725 | +2023-03-20 18:02:35,520 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
726 | +2023-03-20 18:02:35,521 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
727 | +- 实习计划不匹配 | |
728 | ++ 项目名称已存在 | |
729 | +Traceback (most recent call last): | |
730 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
731 | + self.assertEqual(expected['msg'], res['msg']) | |
732 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
733 | + assertion_func(first, second, msg=msg) | |
734 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
735 | + self.fail(self._formatMessage(msg, standardMsg)) | |
736 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
737 | + raise self.failureException(msg) | |
738 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
739 | +- 实习计划不匹配 | |
740 | ++ 项目名称已存在 | |
741 | + | |
742 | +2023-03-20 18:02:35,983 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
743 | +2023-03-20 18:02:35,983 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
744 | +- 实习计划不匹配 | |
745 | ++ 项目名称已存在 | |
746 | +Traceback (most recent call last): | |
747 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
748 | + self.assertEqual(expected['msg'], res['msg']) | |
749 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
750 | + assertion_func(first, second, msg=msg) | |
751 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
752 | + self.fail(self._formatMessage(msg, standardMsg)) | |
753 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
754 | + raise self.failureException(msg) | |
755 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
756 | +- 实习计划不匹配 | |
757 | ++ 项目名称已存在 | |
758 | + | |
759 | +2023-03-20 18:02:36,476 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
760 | +2023-03-20 18:02:36,476 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
761 | +- 实习计划不匹配 | |
762 | ++ 项目名称已存在 | |
763 | +Traceback (most recent call last): | |
764 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
765 | + self.assertEqual(expected['msg'], res['msg']) | |
766 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
767 | + assertion_func(first, second, msg=msg) | |
768 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
769 | + self.fail(self._formatMessage(msg, standardMsg)) | |
770 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
771 | + raise self.failureException(msg) | |
772 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
773 | +- 实习计划不匹配 | |
774 | ++ 项目名称已存在 | |
775 | + | |
776 | +2023-03-20 18:02:36,825 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
777 | +2023-03-20 18:02:36,825 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != 'success' | |
778 | +- 自行填报企业信息不能为空 | |
779 | ++ success | |
780 | +Traceback (most recent call last): | |
781 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
782 | + self.assertEqual(expected['msg'], res['msg']) | |
783 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
784 | + assertion_func(first, second, msg=msg) | |
785 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
786 | + self.fail(self._formatMessage(msg, standardMsg)) | |
787 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
788 | + raise self.failureException(msg) | |
789 | +AssertionError: '自行填报企业信息不能为空' != 'success' | |
790 | +- 自行填报企业信息不能为空 | |
791 | ++ success | |
792 | + | |
793 | +2023-03-20 18:02:37,296 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
794 | +2023-03-20 18:02:37,296 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
795 | +- 自行填报企业信息不能为空 | |
796 | ++ 项目名称已存在 | |
797 | +Traceback (most recent call last): | |
798 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
799 | + self.assertEqual(expected['msg'], res['msg']) | |
800 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
801 | + assertion_func(first, second, msg=msg) | |
802 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
803 | + self.fail(self._formatMessage(msg, standardMsg)) | |
804 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
805 | + raise self.failureException(msg) | |
806 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
807 | +- 自行填报企业信息不能为空 | |
808 | ++ 项目名称已存在 | |
809 | + | |
810 | +2023-03-20 18:02:37,786 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
811 | +2023-03-20 18:02:37,787 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
812 | +- 自行填报企业信息不能为空 | |
813 | ++ 项目名称已存在 | |
814 | +Traceback (most recent call last): | |
815 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
816 | + self.assertEqual(expected['msg'], res['msg']) | |
817 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
818 | + assertion_func(first, second, msg=msg) | |
819 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
820 | + self.fail(self._formatMessage(msg, standardMsg)) | |
821 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
822 | + raise self.failureException(msg) | |
823 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
824 | +- 自行填报企业信息不能为空 | |
825 | ++ 项目名称已存在 | |
826 | + | |
827 | +2023-03-20 18:02:38,331 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
828 | +2023-03-20 18:02:38,331 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
829 | +- 自行填报企业信息不能为空 | |
830 | ++ 项目名称已存在 | |
831 | +Traceback (most recent call last): | |
832 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
833 | + self.assertEqual(expected['msg'], res['msg']) | |
834 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
835 | + assertion_func(first, second, msg=msg) | |
836 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
837 | + self.fail(self._formatMessage(msg, standardMsg)) | |
838 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
839 | + raise self.failureException(msg) | |
840 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
841 | +- 自行填报企业信息不能为空 | |
842 | ++ 项目名称已存在 | |
843 | + | |
844 | +2023-03-20 18:02:38,676 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生不能为空,执行通过 | |
845 | +2023-03-20 18:02:39,063 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生填写错误,执行通过 | |
846 | +2023-03-20 18:02:39,474 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师不填写,添加成功,执行通过 | |
847 | +2023-03-20 18:02:39,828 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师填写错误,执行通过 | |
848 | +2023-03-20 18:02:40,219 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位不能为空,执行通过 | |
849 | +2023-03-20 18:02:40,645 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位填写错误,执行通过 | |
850 | +2023-03-20 18:02:41,242 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | |
851 | +2023-03-20 18:02:41,730 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | |
852 | +2023-03-20 18:02:42,215 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | |
853 | +2023-03-20 18:02:44,004 - [test_04_Internship_preparation.py-->line:363] - INFO: 用例发布项目,执行通过 | |
854 | +2023-03-20 18:02:45,690 - [test_05_student_practice.py-->line:71] - INFO: 用例查看全部实习,执行通过 | |
855 | +2023-03-20 18:02:48,000 - [test_05_student_practice.py-->line:129] - INFO: 用例学生提交报名岗位,执行通过 | |
856 | +2023-03-20 18:02:48,942 - [test_06_internship_manage.py-->line:71] - INFO: 用例查看学校报名审核-待审核,执行通过 | |
857 | +2023-03-20 18:02:50,931 - [test_06_internship_manage.py-->line:127] - INFO: 用例审核成功(学校),执行通过 | |
858 | +2023-03-20 18:02:52,646 - [test_06_internship_manage.py-->line:290] - INFO: 用例学生填写开始实习时间成功,执行通过 | |
859 | +2023-03-20 18:02:53,969 - [test_06_internship_manage.py-->line:349] - INFO: 用例实习申请审核成功(学校),执行通过 | |
860 | +2023-03-20 18:02:55,482 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-成功,执行通过 | |
861 | +2023-03-20 18:02:56,825 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-成功,执行通过 | |
862 | +2023-03-20 18:02:57,995 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-成功,执行通过 | |
863 | +2023-03-20 18:03:00,582 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(日志)-成功,执行通过 | |
864 | +2023-03-20 18:03:03,019 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(周志)-成功,执行通过 | |
865 | +2023-03-20 18:03:05,280 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(月志)-成功,执行通过 | |
866 | +2023-03-20 18:03:07,161 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 | |
867 | +2023-03-20 18:03:08,689 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 | |
868 | +2023-03-20 18:03:10,038 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 | ... | ... |
logs/log.log.2023-03-24
0 → 100644
此 diff 太大无法显示。
logs/log.log.2023-03-27
0 → 100644
此 diff 太大无法显示。
logs/log.log.2023-03-30
0 → 100644
此 diff 太大无法显示。
logs/log.log.2023-06-14
0 → 100644
此 diff 太大无法显示。
logs/log.log.2023-06-19
0 → 100644
此 diff 太大无法显示。
logs/log.log.2023-06-28
0 → 100644
此 diff 太大无法显示。
logs/log.log.2023-07-17
0 → 100644
此 diff 太大无法显示。
logs/log.log.2023-07-20
0 → 100644
此 diff 太大无法显示。
report/report1.html
0 → 100644
此 diff 太大无法显示。
请
注册
或
登录
后发表评论