flake warnings (#304)

This commit is contained in:
Bruno Cabral
2022-12-12 02:44:27 -08:00
committed by GitHub
parent f10a3f1d1a
commit fb4109bd77
67 changed files with 252 additions and 248 deletions

View File

@@ -10,10 +10,10 @@ class FlatpakTest(TestCase):
@patch(f'{__app_name__}.gems.flatpak.flatpak.SimpleProcess')
@patch(f'{__app_name__}.gems.flatpak.flatpak.ProcessHandler.handle_simple', return_value=(True, """
Looking for updates...
\tID\tArch\tBranch\tRemote\tDownload
1.\t \torg.xpto.Xnote\tx86_64\tstable\tflathub\t< 4.3 MB
"""))
def test_map_update_download_size__for_flatpak_1_2(self, SimpleProcess: Mock, handle_simple: Mock):
download_size = flatpak.map_update_download_size(app_ids={'org.xpto.Xnote'}, installation='user', version=VERSION_1_2)