[Notes] [Git][BuildStream/buildstream][master] 2 commits: Fix some ruamel warnings during tests



Title: GitLab

Valentin David pushed to branch master at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • tests/frontend/yamlcache.py
    ... ... @@ -103,7 +103,7 @@ def test_yamlcache_used(cli, tmpdir, ref_storage, with_junction, move_project):
    103 103
             yc.put_from_key(prj, element_path, key, contents)
    
    104 104
     
    
    105 105
         # Show that a variable has been added
    
    106
    -    result = cli.run(project=project, args=['show', '--format', '%{vars}', 'test.bst'])
    
    106
    +    result = cli.run(project=project, args=['show', '--deps', 'none', '--format', '%{vars}', 'test.bst'])
    
    107 107
         result.assert_success()
    
    108 108
         data = yaml.safe_load(result.output)
    
    109 109
         assert 'modified' in data
    
    ... ... @@ -135,7 +135,7 @@ def test_yamlcache_changed_file(cli, tmpdir, ref_storage, with_junction):
    135 135
             _yaml.load(element_path, copy_tree=False, project=prj, yaml_cache=yc)
    
    136 136
     
    
    137 137
         # Show that a variable has been added
    
    138
    -    result = cli.run(project=project, args=['show', '--format', '%{vars}', 'test.bst'])
    
    138
    +    result = cli.run(project=project, args=['show', '--deps', 'none', '--format', '%{vars}', 'test.bst'])
    
    139 139
         result.assert_success()
    
    140 140
         data = yaml.safe_load(result.output)
    
    141 141
         assert 'modified' in data
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]