def test_string(self): print(toCSS(obj))
def test_file(self): with open('file.css', 'a', encoding='utf-8') as file: file.write(toCSS(obj)) print('1. File.css saved!\n')