'''
Testing the file woohoo

Created 4/4/2020
@author: joanne-li
'''
from Account import *
from Encrypt import *
import json



# acc = Account('joanne')
# acc.create_account('sample')
# print(acc._enc.verify_login('joanne','sample'))
# passfile = acc.get_passfile()
# acc.set_passfile = passfile
# acc.add_account('google', 'joanne@gmail.com', 'password2')
# acc.add_account('google', 'jack@gmail.com', 'password1')
# print(acc._passfile)
# acc.remove_account('google', 'jack@gmail.com')
#
# print(acc._passfile)
# acc.edit_acc_password('google', 'joanne@gmail.com', 'pass')
# print(acc._passfile)
#
# acc.edit_acc_username('google', 'joanne@gmail.com', 'jill')
#
# acc.add_account('outlook', 'jack@outlook.com', 'password1')
# acc._enc.encrypt_pass(acc._enc.derive_filekey(b'sample'), json.dumps(acc._passfile).encode('utf-8'))
# print(acc.get_passfile())
