def test_ufodiff_delta_class_instantiation_branch_with_ufo_filter():
make_testing_branch()
try:
deltaobj = Delta('.', ['Font-Regular.ufo'], is_branch_test=True, compare_branch_name='testing_branch')
assert deltaobj.is_commit_test is False
assert deltaobj.is_branch_test is True
assert deltaobj.compare_branch_name == "testing_branch"
assert deltaobj.commit_number == "0"
assert len(deltaobj.ufo_directory_list) == 1
assert deltaobj.ufo_directory_list[0] == "Font-Regular.ufo"
except Exception as e:
delete_testing_branch()
pytest.fail(e)
delete_testing_branch()
评论列表
文章目录