Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
swissembedded committed May 31, 2019
1 parent 457b964 commit b0bcd38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

# using folder tmp
# create a new project
data=init_project_data()
print("created data", data)
prjdata=data.init_project_data()
print("created data", prjdata)
# save it
write_project_data("temp/test", data)
dataload=read_project_data("temp/test")
print("loaded data",dataload)
if data!=dataload:
data.write_project_data("temp/test", data)
prjdataload=read_project_data("temp/test")
print("loaded data",prjdataload)
if prjdata!=prjdataload:
print("created and loaded data are different!")
# load it

Expand Down

0 comments on commit b0bcd38

Please sign in to comment.