[Notes] [Git][BuildStream/buildstream][BenjaminSchubert/fix-quota-tests] fixup! fixup! Mock storage space checks for tests.



Title: GitLab

Benjamin Schubert pushed to branch BenjaminSchubert/fix-quota-tests at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • tests/utils/misc.py
    1
    -from buildstream import _yaml
    
    2
    -from ..testutils.runcli import cli
    
    3
    -
    
    4 1
     import os
    
    2
    +from unittest import mock
    
    3
    +
    
    5 4
     import pytest
    
    6 5
     
    
    6
    +from buildstream import _yaml
    
    7
    +
    
    8
    +from ..testutils.runcli import cli
    
    9
    +
    
    7 10
     
    
    8 11
     KiB = 1024
    
    9 12
     MiB = (KiB * 1024)
    



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