
import yaml
f=open('../data/login.yaml', mode='r',  encoding='utf-8')
data=yaml.full_load(f)
print(data[0]['uname'])
try:
    assert data[0]['uname']=='qwerty26641','失败'
except Exception as e:
    print(e)
print(123)
#
# def test(*data):
#     print(data)
#
# a={'a':1,'b':2}
# b=[1,2,3]
# c=(1,2,3)
#
# test(a)
945dca28b6bdc54d7e1cdbee16d7c4f13b7da390
<mask token>

<mask token>
print(data[0]['uname'])
try:
    assert data[0]['uname'] == 'qwerty26641', '失败'
except Exception as e:
    print(e)
print(123)

<mask token>
f = open('../data/login.yaml', mode='r', encoding='utf-8')
data = yaml.full_load(f)
print(data[0]['uname'])
try:
    assert data[0]['uname'] == 'qwerty26641', '失败'
except Exception as e:
    print(e)
print(123)

import yaml
f = open('../data/login.yaml', mode='r', encoding='utf-8')
data = yaml.full_load(f)
print(data[0]['uname'])
try:
    assert data[0]['uname'] == 'qwerty26641', '失败'
except Exception as e:
    print(e)
print(123)


import yaml
f=open('../data/login.yaml', mode='r',  encoding='utf-8')
data=yaml.full_load(f)
print(data[0]['uname'])
try:
    assert data[0]['uname']=='qwerty26641','失败'
except Exception as e:
    print(e)
print(123)
#
# def test(*data):
#     print(data)
#
# a={'a':1,'b':2}
# b=[1,2,3]
# c=(1,2,3)
#
# test(a)