Пример #1
0
def get_new_contributors():
    state = replication_state.get()
    print("I'm running at %s" % time.ctime(time.time()))
#    amqp
    return state
Пример #2
0
 def test_get_state(self):
     state = replication_state.get()
     self.assertIn('sequenceNumber', state)
     self.assertIn('timestamp', state)