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.TestTaskExecuteStruct Class Reference
Inheritance diagram for tests.test_drce_Commands.TestTaskExecuteStruct:
Collaboration diagram for tests.test_drce_Commands.TestTaskExecuteStruct:

Public Member Functions

def test_add_file_variable (self)
 

Detailed Description

Definition at line 31 of file test_drce_Commands.py.

Member Function Documentation

◆ test_add_file_variable()

def tests.test_drce_Commands.TestTaskExecuteStruct.test_add_file_variable (   self)

Definition at line 33 of file test_drce_Commands.py.

33  def test_add_file_variable(self):
34  task_exec_struct = TaskExecuteStruct()
35 
36  file1 = {"name" : "go.py", "data" : "-f", "action":22}
37  file2 = {"name" : "none.cpp", "data" : "-fu", "action":2}
38  expect_files = list()
39  expect_files.append(file1)
40  expect_files.append(file2)
41 
42  task_exec_struct.add_files("go.py", "-f", 22)
43  task_exec_struct.add_files("none.cpp", "-fu", 2)
44 
45  self.assertEqual(expect_files, task_exec_struct.files, "failed set of files")
46 
47 
48 

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