1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

fix tests so blank strings are now None

This commit is contained in:
Kelly Brazil
2022-03-22 12:25:51 -07:00
parent 7d95d679bf
commit aea2e1b0a9

View File

@ -44,21 +44,21 @@ class MyTests(unittest.TestCase):
"avai_labl_e": "3389\n588" "avai_labl_e": "3389\n588"
}, },
{ {
"type": "", "type": None,
"tota_l": "", "tota_l": None,
"used": "", "used": None,
"fr_ee": "", "fr_ee": None,
"shar_ed": "test 2", "shar_ed": "test 2",
"buff_cac_he": "", "buff_cac_he": None,
"avai_labl_e": "" "avai_labl_e": None
}, },
{ {
"type": "last", "type": "last",
"tota_l": "last", "tota_l": "last",
"used": "last", "used": "last",
"fr_ee": "ab cde", "fr_ee": "ab cde",
"shar_ed": "", "shar_ed": None,
"buff_cac_he": "", "buff_cac_he": None,
"avai_labl_e": "final" "avai_labl_e": "final"
} }
] ]
@ -100,17 +100,17 @@ class MyTests(unittest.TestCase):
"tota_l": "2097\n148", "tota_l": "2097\n148",
"used": "0", "used": "0",
"fr_ee": "2097\n148\nkb", "fr_ee": "2097\n148\nkb",
"shar_ed": "", "shar_ed": None,
"buff_cac_he": "", "buff_cac_he": None,
"avai_labl_e": "" "avai_labl_e": None
}, },
{ {
"type": "last", "type": "last",
"tota_l": "last", "tota_l": "last",
"used": "last", "used": "last",
"fr_ee": "ab cde", "fr_ee": "ab cde",
"shar_ed": "", "shar_ed": None,
"buff_cac_he": "", "buff_cac_he": None,
"avai_labl_e": "final" "avai_labl_e": "final"
} }
] ]
@ -152,21 +152,21 @@ class MyTests(unittest.TestCase):
"avai_labl_e": "3389\n588" "avai_labl_e": "3389\n588"
}, },
{ {
"type": "", "type": None,
"tota_l": "", "tota_l": None,
"used": "", "used": None,
"fr_ee": "", "fr_ee": None,
"shar_ed": "test 2", "shar_ed": "test 2",
"buff_cac_he": "", "buff_cac_he": None,
"avai_labl_e": "" "avai_labl_e": None
}, },
{ {
"type": "last", "type": "last",
"tota_l": "last", "tota_l": "last",
"used": "last", "used": "last",
"fr_ee": "ab cde", "fr_ee": "ab cde",
"shar_ed": "", "shar_ed": None,
"buff_cac_he": "", "buff_cac_he": None,
"avai_labl_e": "final" "avai_labl_e": "final"
} }
] ]
@ -210,9 +210,9 @@ class MyTests(unittest.TestCase):
"tota_l": "2097\n148", "tota_l": "2097\n148",
"used": "0", "used": "0",
"free": "2097\n148", "free": "2097\n148",
"shar_ed": "", "shar_ed": None,
"buff_cac_he": "", "buff_cac_he": None,
"avai_labl_e": "" "avai_labl_e": None
} }
] ]