Files
central-task/tasks/tests/__pycache__/test_views.cpython-311-pytest-8.3.2.pyc

22 lines
4.4 KiB
Plaintext
Raw Normal View History

2025-12-05 13:45:16 +08:00
<EFBFBD>
<00>U2i<32><00><00><><00>ddlZddlmcmZddlmZddlm Z ddl
m Z m Z ddl mZmZGd<06>de<07><00>ZGd<08>d e<07><00>ZdS)
<EFBFBD>N)<01>TestCase)<01>reverse)<02>Client<6E>Task)<02> ClientFactory<72> TaskFactoryc<00> <00>eZdZd<01>Zd<02>Zd<03>ZdS)<05> TaskViewTestc<00><00>tjd<01><00>td<02><00>}|j<00>|<01><00>}|<00>|jd<03><00>|<00>|d<04><00>|<00>|d<05><00>dS)z.Test that the task list view renders correctly<6C><00> task_list<73><74>ztasks/task_list.htmlu 任务列表N) r<00> create_batchr<00>client<6E>get<65> assertEqual<61> status_code<64>assertTemplateUsed<65>assertContains<6E><03>self<6C>url<72>responses <20>=H:\学习资料\django\任务中心\tasks\tests\test_views.py<70>test_task_list_viewz TaskViewTest.test_task_list_views<><00><00> <14> <20><11>#<23>#<23>#<23><15>k<EFBFBD>"<22>"<22><03><17>;<3B>?<3F>?<3F>3<EFBFBD>'<27>'<27><08> <0C><18><18><18>-<2D>s<EFBFBD>3<>3<>3<> <0C><1F><1F><08>*@<40>A<>A<>A<> <0C><1B><1B>H<EFBFBD>n<EFBFBD>5<>5<>5<>5<>5<>c<00><><00>td<01><00>}|j<00>|<01><00>}|<00>|jd<02><00>|<00>|d<03><00>|<00>|d<04><00>dS)z0Test that the task create view renders correctly<6C> task_createrztasks/task_create.htmlu 创建任务N<E58AA1>rrrrrrrrs r<00>test_task_create_viewz"TaskViewTest.test_task_create_viewsn<00><00><15>m<EFBFBD>$<24>$<24><03><17>;<3B>?<3F>?<3F>3<EFBFBD>'<27>'<27><08> <0C><18><18><18>-<2D>s<EFBFBD>3<>3<>3<> <0C><1F><1F><08>*B<>C<>C<>C<> <0C><1B><1B>H<EFBFBD>n<EFBFBD>5<>5<>5<>5<>5rc<00><00>t<00><00>}td|jg<01><02><00>}|j<00>|<02><00>}|<00>|jd<03><00>|<00>|d<04><00>|<00>||j <00><00>dS)z0Test that the task detail view renders correctly<6C> task_detail)<01>argsrztasks/task_detail.htmlN)
rr<00>idrrrrrr<00>name)r<00>taskrrs r<00>test_task_detail_viewz"TaskViewTest.test_task_detail_views<><00><00><1B>}<7D>}<7D><04><15>m<EFBFBD>4<EFBFBD>7<EFBFBD>)<29>4<>4<>4<><03><17>;<3B>?<3F>?<3F>3<EFBFBD>'<27>'<27><08> <0C><18><18><18>-<2D>s<EFBFBD>3<>3<>3<> <0C><1F><1F><08>*B<>C<>C<>C<> <0C><1B><1B>H<EFBFBD>d<EFBFBD>i<EFBFBD>0<>0<>0<>0<>0rN)<06>__name__<5F>
__module__<EFBFBD> __qualname__rr r'<00>rrr
r
sA<00><00><00><00><00><00>
6<>
6<>
6<>6<>6<>6<>
1<>
1<>
1<>
1<>
1rr
c<00><00>eZdZd<01>Zd<02>ZdS)<04>ClientViewTestc<00><00>tjd<01><00>td<02><00>}|j<00>|<01><00>}|<00>|jd<03><00>|<00>|d<04><00>|<00>|d<05><00>dS)z0Test that the client list view renders correctlyr <00> client_listrztasks/client_list.htmlu客户端列表N) rrrrrrrrrrs r<00>test_client_list_viewz$ClientViewTest.test_client_list_view)s<><00><00> <16>"<22>1<EFBFBD>%<25>%<25>%<25><15>m<EFBFBD>$<24>$<24><03><17>;<3B>?<3F>?<3F>3<EFBFBD>'<27>'<27><08> <0C><18><18><18>-<2D>s<EFBFBD>3<>3<>3<> <0C><1F><1F><08>*B<>C<>C<>C<> <0C><1B><1B>H<EFBFBD>&7<>8<>8<>8<>8<>8rc<00><><00>td<01><00>}|j<00>|<01><00>}|<00>|jd<02><00>|<00>|d<03><00>|<00>|d<04><00>dS)z2Test that the client create view renders correctly<6C> client_createrztasks/client_create.htmlu创建客户端Nrrs r<00>test_client_create_viewz&ClientViewTest.test_client_create_view5so<00><00><15>o<EFBFBD>&<26>&<26><03><17>;<3B>?<3F>?<3F>3<EFBFBD>'<27>'<27><08> <0C><18><18><18>-<2D>s<EFBFBD>3<>3<>3<> <0C><1F><1F><08>*D<>E<>E<>E<> <0C><1B><1B>H<EFBFBD>&7<>8<>8<>8<>8<>8rN)r(r)r*r0r3r+rrr-r-(s2<00><00><00><00><00><00>
9<>
9<>
9<>9<>9<>9<>9<>9rr-)<12>builtins<6E> @py_builtins<6E>_pytest.assertion.rewrite<74> assertion<6F>rewrite<74>
@pytest_ar<61> django.testr<00> django.urlsr<00> tasks.modelsrr<00>tasks.tests.test_factoriesrrr
r-r+rr<00><module>r>s<><00><01><00><00><00><00><00><00><00><00><00><00><00><00><00> <20> <20> <20> <20> <20> <20><1F><1F><1F><1F><1F><1F>%<25>%<25>%<25>%<25>%<25>%<25>%<25>%<25>A<>A<>A<>A<>A<>A<>A<>A<> 1<> 1<> 1<> 1<> 1<>8<EFBFBD> 1<> 1<> 1<>D9<>9<>9<>9<>9<>X<EFBFBD>9<>9<>9<>9<>9r