# coding: utf-8 def test_save_file_from_bytes(): from util import fileman file_name = 'a/b/c.txt' new_name = fileman.save_file_from_bytes(b'test', file_name) assert new_name == file_name