Skip to content

Commit

Permalink
Use an anime name that's in the local database in the tests.
Browse files Browse the repository at this point in the history
Also, don't expect anime pictures to be resolvable.
  • Loading branch information
colons committed Feb 14, 2024
1 parent 25e15bf commit 08316be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nkdsu/apps/vote/fixtures/vote.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"added": "2012-12-15T18:51:21Z",
"inudesu": false,
"msec": 225044,
"id3_title": "Canpeki Shinakya! (RO-KYU-BU! Character Song: Saki)",
"id3_title": "Canpeki Shinakya! (Ro-Kyu-Bu! Character Song: Saki)",
"year": 2014,
"hidden": false,
"id3_album": "RO-KYU-BU! Character Songs 03 - Nagatsuka Saki|Lucky Star ED4",
"id3_album": "Ro-Kyu-Bu! Character Songs 03 - Nagatsuka Saki|Lucky Star ED4",
"revealed": "2012-12-15T18:51:21Z"
}
},
Expand Down
5 changes: 3 additions & 2 deletions nkdsu/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ class EverythingTest(
'/canpeki-shinakya/0007C3F2760E0541/',
'/0007C3F2760E0541/report/',
'/artist/Hikasa Youko/',
'/anime/RO-KYU-BU%21/',
'/anime-picture/RO-KYU-BU%21/',
'/anime/Ro-Kyu-Bu!/',
'/composer/folks/',
'/year/2014/',
'/show/2014-02-05/listen/',
Expand Down Expand Up @@ -137,6 +136,8 @@ class EverythingTest(
'/set-dark-mode/',
'/logout/',
'/account/logout/',
# redirects in a way the tests can't understand
'/anime-picture/Ro-Kyu-Bu!/',
# can only be accessed if you are logged in with an unusable password
'/set-password/',
# can only be accessed by particular users
Expand Down

0 comments on commit 08316be

Please sign in to comment.