Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
8.4 kB
1
Indexable
Never
/Users/daniel.pacheco/Documents/venv/TCPClientServer/bin/python /Users/daniel.pacheco/Documents/Clicque/TCPClientServer/test_workorder.py
2021-10-02 23:40:56,563 - DEBUG - work_order.message_list.empty() -> True
2021-10-02 23:40:59,268 - INFO - 200 - {"data":[{"barCode":"BRC0058","orderDetails":"BRC0058|#|781025254390|||Jenny Rao|00010101|20210826|Female||38274161|ISOLATE|Test|0||GICU (10) |00|||02-10-2021 06:41 AM|||3898191||FUNAST"},{"barCode":"BRC0053","orderDetails":"BRC0053|#|881225254378|||Rohini Rao|00010101|20210826|Female||38274161|BRONCHIAL WASHING|Test|0||SW 7 (7) |00|||01-10-2021 05:32 PM|||3898191||CNSBRONCH"},{"barCode":"BRC0054","orderDetails":"BRC0054|#|881225254378|||Rohini Rao|00010101|20210826|Female||38274161|PUS SWAB|Test|0||SW 7 (7) |00|||01-10-2021 05:32 PM|||3898191||CNSPUS"},{"barCode":"BRC0064","orderDetails":"BRC0064|#|NRIC-9|||Sam|00010101|20210826|Male||38274161|PLEURAL FLUID|Test|0||SW 7 (7) |00|||02-10-2021 12:30 PM|||3898191||CNSPLF"},{"barCode":"BRC0063","orderDetails":"BRC0063|#|NRIC-9|||Sam|00010101|20210826|Male||38274161|BLOOD|Test|0||SW 7 (7) |00|||02-10-2021 12:30 PM|||3898191||CNSBLANO2"}],"errors":null,"isSuccessful":true}
2021-10-02 23:41:06,571 - DEBUG - work_order.message_list.empty() -> False
2021-10-02 23:41:06,571 - DEBUG - message -> BRC0058|#|781025254390|||Jenny Rao|00010101|20210826|Female||38274161|ISOLATE|Test|0||GICU (10) |00|||02-10-2021 06:41 AM|||3898191||FUNAST
2021-10-02 23:41:06,572 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|781025254390|||Jenny Rao||||||||||||||||||||GICU (10) \\x0D\\x03', '3O|1|BRC0058^1|||||||||||||ISOLATE|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:06,574 - DEBUG - message -> BRC0053|#|881225254378|||Rohini Rao|00010101|20210826|Female||38274161|BRONCHIAL WASHING|Test|0||SW 7 (7) |00|||01-10-2021 05:32 PM|||3898191||CNSBRONCH
2021-10-02 23:41:06,575 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|881225254378|||Rohini Rao||||||||||||||||||||SW 7 (7) \\x0D\\x03', '3O|1|BRC0053^1|||||||||||||BRONCHIAL WASHING|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:06,577 - DEBUG - message -> BRC0054|#|881225254378|||Rohini Rao|00010101|20210826|Female||38274161|PUS SWAB|Test|0||SW 7 (7) |00|||01-10-2021 05:32 PM|||3898191||CNSPUS
2021-10-02 23:41:06,578 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|881225254378|||Rohini Rao||||||||||||||||||||SW 7 (7) \\x0D\\x03', '3O|1|BRC0054^1|||||||||||||PUS SWAB|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:06,581 - DEBUG - message -> BRC0064|#|NRIC-9|||Sam|00010101|20210826|Male||38274161|PLEURAL FLUID|Test|0||SW 7 (7) |00|||02-10-2021 12:30 PM|||3898191||CNSPLF
2021-10-02 23:41:06,582 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|NRIC-9|||Sam||||||||||||||||||||SW 7 (7) \\x0D\\x03', '3O|1|BRC0064^1|||||||||||||PLEURAL FLUID|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:06,584 - DEBUG - message -> BRC0063|#|NRIC-9|||Sam|00010101|20210826|Male||38274161|BLOOD|Test|0||SW 7 (7) |00|||02-10-2021 12:30 PM|||3898191||CNSBLANO2
2021-10-02 23:41:06,586 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|NRIC-9|||Sam||||||||||||||||||||SW 7 (7) \\x0D\\x03', '3O|1|BRC0063^1|||||||||||||BLOOD|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:10,329 - INFO - 200 - {"data":[{"barCode":"BRC0058","orderDetails":"BRC0058|#|781025254390|||Jenny Rao|00010101|20210826|Female||38274161|ISOLATE|Test|0||GICU (10) |00|||02-10-2021 06:41 AM|||3898191||FUNAST"},{"barCode":"BRC0053","orderDetails":"BRC0053|#|881225254378|||Rohini Rao|00010101|20210826|Female||38274161|BRONCHIAL WASHING|Test|0||SW 7 (7) |00|||01-10-2021 05:32 PM|||3898191||CNSBRONCH"},{"barCode":"BRC0054","orderDetails":"BRC0054|#|881225254378|||Rohini Rao|00010101|20210826|Female||38274161|PUS SWAB|Test|0||SW 7 (7) |00|||01-10-2021 05:32 PM|||3898191||CNSPUS"},{"barCode":"BRC0064","orderDetails":"BRC0064|#|NRIC-9|||Sam|00010101|20210826|Male||38274161|PLEURAL FLUID|Test|0||SW 7 (7) |00|||02-10-2021 12:30 PM|||3898191||CNSPLF"},{"barCode":"BRC0063","orderDetails":"BRC0063|#|NRIC-9|||Sam|00010101|20210826|Male||38274161|BLOOD|Test|0||SW 7 (7) |00|||02-10-2021 12:30 PM|||3898191||CNSBLANO2"}],"errors":null,"isSuccessful":true}
2021-10-02 23:41:10,334 - INFO - 200 - {"errors":["No map found"],"isSuccessful":true}
2021-10-02 23:41:10,431 - INFO - 200 - {"errors":[],"isSuccessful":true}
2021-10-02 23:41:10,436 - INFO - 200 - {"errors":[],"isSuccessful":true}
2021-10-02 23:41:10,439 - INFO - 200 - {"errors":[],"isSuccessful":true}
2021-10-02 23:41:10,443 - INFO - 200 - {"errors":[],"isSuccessful":true}
2021-10-02 23:41:16,596 - DEBUG - work_order.message_list.empty() -> False
2021-10-02 23:41:16,597 - DEBUG - message -> BRC0058|#|781025254390|||Jenny Rao|00010101|20210826|Female||38274161|ISOLATE|Test|0||GICU (10) |00|||02-10-2021 06:41 AM|||3898191||FUNAST
2021-10-02 23:41:16,601 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|781025254390|||Jenny Rao||||||||||||||||||||GICU (10) \\x0D\\x03', '3O|1|BRC0058^1|||||||||||||ISOLATE|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:16,602 - DEBUG - message -> BRC0053|#|881225254378|||Rohini Rao|00010101|20210826|Female||38274161|BRONCHIAL WASHING|Test|0||SW 7 (7) |00|||01-10-2021 05:32 PM|||3898191||CNSBRONCH
2021-10-02 23:41:16,604 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|881225254378|||Rohini Rao||||||||||||||||||||SW 7 (7) \\x0D\\x03', '3O|1|BRC0053^1|||||||||||||BRONCHIAL WASHING|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:16,605 - DEBUG - message -> BRC0054|#|881225254378|||Rohini Rao|00010101|20210826|Female||38274161|PUS SWAB|Test|0||SW 7 (7) |00|||01-10-2021 05:32 PM|||3898191||CNSPUS
2021-10-02 23:41:16,606 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|881225254378|||Rohini Rao||||||||||||||||||||SW 7 (7) \\x0D\\x03', '3O|1|BRC0054^1|||||||||||||PUS SWAB|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:16,607 - DEBUG - message -> BRC0064|#|NRIC-9|||Sam|00010101|20210826|Male||38274161|PLEURAL FLUID|Test|0||SW 7 (7) |00|||02-10-2021 12:30 PM|||3898191||CNSPLF
2021-10-02 23:41:16,608 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|NRIC-9|||Sam||||||||||||||||||||SW 7 (7) \\x0D\\x03', '3O|1|BRC0064^1|||||||||||||PLEURAL FLUID|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:16,609 - DEBUG - message -> BRC0063|#|NRIC-9|||Sam|00010101|20210826|Male||38274161|BLOOD|Test|0||SW 7 (7) |00|||02-10-2021 12:30 PM|||3898191||CNSBLANO2
2021-10-02 23:41:16,610 - DEBUG - complete_message_buffer -> ['1H|\\^&|||LIS|||||BIOMIC ^6.00||P|LIS2-A\\x0D\\x03', '2P|1|NRIC-9|||Sam||||||||||||||||||||SW 7 (7) \\x0D\\x03', '3O|1|BRC0063^1|||||||||||||BLOOD|Test|||||||||Q\\x0D\\x03', '4L|1|N\\x0D\\x03']
2021-10-02 23:41:19,104 - INFO - 200 - {"errors":["Already in Completed State"],"isSuccessful":true}
2021-10-02 23:41:19,122 - INFO - 200 - {"data":null,"errors":["No Data exists !!!"],"isSuccessful":true}
2021-10-02 23:41:19,126 - INFO - 200 - {"errors":["Already in Completed State"],"isSuccessful":true}
2021-10-02 23:41:19,210 - INFO - 200 - {"errors":["No map found","Already in Completed State"],"isSuccessful":true}
2021-10-02 23:41:19,218 - INFO - 200 - {"errors":["Already in Completed State"],"isSuccessful":true}
2021-10-02 23:41:19,223 - INFO - 200 - {"errors":["Already in Completed State"],"isSuccessful":true}
2021-10-02 23:41:26,618 - DEBUG - work_order.message_list.empty() -> True
2021-10-02 23:41:28,705 - INFO - 200 - {"data":null,"errors":["No Data exists !!!"],"isSuccessful":true}
2021-10-02 23:41:36,621 - DEBUG - work_order.message_list.empty() -> True
2021-10-02 23:41:39,090 - INFO - 200 - {"data":null,"errors":["No Data exists !!!"],"isSuccessful":true}
Traceback (most recent call last):
  File "/Users/daniel.pacheco/Documents/Clicque/TCPClientServer/test_workorder.py", line 27, in <module>
    time.sleep(10)
KeyboardInterrupt

Process finished with exit code 130 (interrupted by signal 2: SIGINT)