Fix module in terms of python style
This commit is contained in:
24
api/test/s1_title.py
Normal file
24
api/test/s1_title.py
Normal file
@@ -0,0 +1,24 @@
|
||||
from api.project import *
|
||||
from api.s1_title import *
|
||||
|
||||
p = "test_s1_title"
|
||||
|
||||
if is_project_open(p):
|
||||
close_project(p)
|
||||
|
||||
if have_project(p):
|
||||
delete_project(p)
|
||||
|
||||
create_project(p)
|
||||
open_project(p)
|
||||
|
||||
print(get_title(p))
|
||||
|
||||
set_title(p, "title")
|
||||
print(get_title(p))
|
||||
|
||||
set_title(p, "test")
|
||||
print(get_title(p))
|
||||
|
||||
close_project(p)
|
||||
delete_project(p)
|
||||
Reference in New Issue
Block a user