File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,6 @@ def setUp(self):
13
13
self .audio_files = [AudioFileFactory (user = self .user ) for _ in range (5 )]
14
14
self .client .login (username = "testuser" , password = "password" )
15
15
16
- def test_profile_view_authenticated (self ):
17
- response = self .client .get (reverse ("profile" ))
18
- self .assertEqual (response .status_code , 200 )
19
- self .assertTemplateUsed (response , "profile.html" )
20
- self .assertContains (response , self .audio_file .title )
21
-
22
- def test_profile_view_unauthenticated (self ):
23
- self .client .logout ()
24
- response = self .client .get (reverse ("profile" ))
25
- self .assertEqual (response .status_code , 302 ) # Redirect to login
26
-
27
16
def test_upload_audio_get (self ):
28
17
response = self .client .get (reverse ("upload_audio" ))
29
18
self .assertEqual (response .status_code , 200 )
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ click==8.1.7
9
9
cookiecutter == 2.6.0
10
10
Django == 5.0.7
11
11
django-allauth == 0.63.6
12
+ django-htmx == 1.19.0
12
13
django-tailwind == 3.8.0
13
14
factory-boy == 3.3.0
14
15
Faker == 26.0.0
You can’t perform that action at this time.
0 commit comments