def test_is_uploaded_file_false(value): """Pass.""" exp = False, value result = is_uploaded_file(value=value) assert result == exp
def test_is_uploaded_file_true_json(): """Pass.""" value = '{"uuid": "x", "filename": "x"}' exp = True, {"uuid": "x", "filename": "x"} result = is_uploaded_file(value=value) assert result == exp
def test_is_uploaded_file_false_json(): """Pass.""" value = '{"uu": "x", "filename": "x"}' exp = False, value result = is_uploaded_file(value=value) assert result == exp
def test_is_uploaded_file_true(): """Pass.""" value = {"uuid": "x", "filename": "x"} exp = True, value result = is_uploaded_file(value=value) assert result == exp