def test_request_get_dictionary(self): requests = Requests() self.assertEqual(len(requests.get_dictionary()), 0)
def test_request_get_actual_end_time(self): request = Requests.Request('test', '11/25/2017', '00:00', '02:00', '00:00', '00:00') get_actual_end_time = request.get_actual_end_time() self.assertEqual(get_actual_end_time, 2.0)
def test_request_get_name(self): request = Requests.Request('test', '11/25/2017', '00:00', '02:00', '00:00', '00:00') get_name = request.get_name() self.assertEqual(get_name, 'test')
def test_request_get_buffer_end(self): request = Requests.Request('test', '11/25/2017', '00:00', '02:00', '00:00', '00:00') get_buffer_end = request.get_buffer_end() self.assertEqual(get_buffer_end, '00:00')