HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
tests.test_drce_Commands.TestTaskCheckRequest Class Reference
Inheritance diagram for tests.test_drce_Commands.TestTaskCheckRequest:
Collaboration diagram for tests.test_drce_Commands.TestTaskCheckRequest:

Public Member Functions

def test_correct_create_request (self)
 

Detailed Description

Definition at line 61 of file test_drce_Commands.py.

Member Function Documentation

◆ test_correct_create_request()

def tests.test_drce_Commands.TestTaskCheckRequest.test_correct_create_request (   self)

Definition at line 63 of file test_drce_Commands.py.

63  def test_correct_create_request(self):
64  uid = "11"
65  check_request = TaskCheckRequest(uid, consts.SIMPLE_STATUS_INFO)
66 
67  self.assertEqual(uid, check_request.id, "check request creation error")
68  self.assertEqual(consts.CHECK_TASK_STATE, check_request.type, "type error")
69  self.assertEqual(consts.SIMPLE_STATUS_INFO, check_request.data["type"], "data type error")
70 
71 
72 

The documentation for this class was generated from the following file: