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_dtm_TasksManager Namespace Reference

Classes

class  Matcher
 
class  TestTasksManager
 

Functions

def matchShedulerNewEvents (first, second)
 
def matchDeleteTasksEvent (first, second)
 

Variables

string FORMAT = '%(asctime)s - %(thread)ld - %(threadName)s - %(name)s - %(funcName)s - %(levelname)s - %(message)s'
 
 level
 
 DEBUG
 
 format
 

Detailed Description

Created on Mar 11, 2014

@author: igor

Function Documentation

◆ matchDeleteTasksEvent()

def tests.test_dtm_TasksManager.matchDeleteTasksEvent (   first,
  second 
)

Definition at line 57 of file test_dtm_TasksManager.py.

57 def matchDeleteTasksEvent(first, second):
58  return first.eventType == second.eventType and first.eventObj.id == second.eventObj.id
59 
60 
def matchDeleteTasksEvent(first, second)

◆ matchShedulerNewEvents()

def tests.test_dtm_TasksManager.matchShedulerNewEvents (   first,
  second 
)

Definition at line 47 of file test_dtm_TasksManager.py.

47 def matchShedulerNewEvents(first, second):
48  files = first.eventObj.files
49  first.eventObj.files = None
50  ret = False
51  if first.eventObj.__dict__ == second.eventObj.__dict__ and first.eventType == second.eventType:
52  ret = True
53  first.eventObj.files = files
54  return ret
55 
56 
def matchShedulerNewEvents(first, second)

Variable Documentation

◆ DEBUG

tests.test_dtm_TasksManager.DEBUG

Definition at line 30 of file test_dtm_TasksManager.py.

◆ FORMAT

string tests.test_dtm_TasksManager.FORMAT = '%(asctime)s - %(thread)ld - %(threadName)s - %(name)s - %(funcName)s - %(levelname)s - %(message)s'

Definition at line 29 of file test_dtm_TasksManager.py.

◆ format

tests.test_dtm_TasksManager.format

Definition at line 30 of file test_dtm_TasksManager.py.

◆ level

tests.test_dtm_TasksManager.level

Definition at line 30 of file test_dtm_TasksManager.py.