<s> from opencenter import backends <EOL> class TestBackend ( backends . Backend ) : <EOL> def __init__ ( self ) : <EOL> super ( TestBackend , self ) . __init__ ( __file__ ) <EOL> def additional_constraints ( self , api , node_id , action , ns ) : <EOL> if action == '<STR_LIT>' : <EOL> if ns [ '<STR_LIT:key>' ] != '<STR_LIT>' : <EOL> return None <EOL> return [ '<STR_LIT>' ] <EOL> return [ ] <EOL> def set_test_fact ( self , state_data , api , node_id , ** kwargs ) : <EOL> return opencenter . backends . primitive_by_name ( '<STR_LIT>' ) ( <EOL> state_data , api , node_id , ** kwargs ) </s>
