tests.py 372 B

1234567891011121314151617181920212223242526
  1. import json
  2. from django.test import TestCase
  3. # Create your tests here.
  4. c = '2022-11-29 05:00:08'
  5. import datetime
  6. from dateutil.relativedelta import relativedelta
  7. c = {
  8. "c0": "Temperature2",
  9. "c1": "Temperature3"
  10. }
  11. c = {
  12. "Control_card": 3,
  13. "front": 12,
  14. "keep_time": 10,
  15. "Start_x": 5,
  16. "Start_y": 10,
  17. "Width": 96,
  18. "Height": 48
  19. }
  20. print(json.dumps(c))