def test_from_json_null(self): self.assertEqual(file_functions.from_file('json_file_null.txt'), {"foo": None})
def test_from_json_true(self): self.assertEqual(file_functions.from_file('json_file_true.txt'), {"foo": True})
def test_from_json_false(self): self.assertEqual(file_functions.from_file('json_file_false.txt'), {"foo": False})
def test_from_json_basic_array(self): self.assertEqual(file_functions.from_file('json_file_basic_array.txt'), {"foo": [1, 2, "three"]})
def test_from_json_nested_object(self): self.assertEqual(file_functions.from_file('json_file_nested_object.txt'), {"foo": {"bar": 2}})
def test_from_json_null(self): assert file_functions.from_file('json_file_null.txt') == {"foo": None}
def test_from_json_false(self): assert file_functions.from_file('json_file_false.txt') == { "foo": False }
def test_from_json_true(self): assert file_functions.from_file('json_file_true.txt') == {"foo": True}
def test_from_json_nested_object(self): assert file_functions.from_file('json_file_nested_object.txt') == { "foo": { "bar": 2 } }
def test_from_json_basic_array(self): assert file_functions.from_file('json_file_basic_array.txt') == { "foo": [1, 2, "three"] }