From a9ed00f307f64651c19f27427b8251def736f57b Mon Sep 17 00:00:00 2001 From: Hamish Graham <hamish.graham@cern.ch> Date: Wed, 15 Sep 2021 10:12:05 +0200 Subject: [PATCH] Update test_tree_maker.py --- tree_maker/tests/test_tree_maker.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tree_maker/tests/test_tree_maker.py b/tree_maker/tests/test_tree_maker.py index fad90dd..0d085da 100644 --- a/tree_maker/tests/test_tree_maker.py +++ b/tree_maker/tests/test_tree_maker.py @@ -11,18 +11,18 @@ def test_method1(): def test_sum_is_five(): assert nj.sum_is_five(1, 4) == True -def test_tag_first(): - tag.tag_first('example_file.yaml', 'hello') - a = tag.read_yaml('example_file.yaml') - b = tag.convert_to_dict(a) - assert b['0']['tag'] == 'hello' +#def test_tag_first(): +# tag.tag_first('example_file.yaml', 'hello') +# a = tag.read_yaml('example_file.yaml') +# b = tag.convert_to_dict(a) +# assert b['0']['tag'] == 'hello' -def test_tag_it(): - tag.tag_first('example_file.yaml', 'hello') - tag.tag_it('example_file.yaml', 'bonjour') - a = tag.read_yaml('example_file.yaml') - b = tag.convert_to_dict(a) - assert b['1']['tag'] == 'bonjour' +#def test_tag_it(): +# tag.tag_first('example_file.yaml', 'hello') +# tag.tag_it('example_file.yaml', 'bonjour') +# a = tag.read_yaml('example_file.yaml') +# b = tag.convert_to_dict(a) +# assert b['1']['tag'] == 'bonjour' def write_yaml(): tag.write_yaml({'green': 'hello'}, ('mytest.yaml')) -- GitLab