A console script that allows you to easily update multiple git repositories at once
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

15 lignes
459 B

  1. # -*- coding: utf-8 -*-
  2. #
  3. # Copyright (C) 2011-2018 Ben Kurtovic <ben.kurtovic@gmail.com>
  4. # Released under the terms of the MIT License. See LICENSE for details.
  5. from __future__ import print_function, unicode_literals
  6. from gitup import config
  7. def test_empty_list(tmpdir, capsys):
  8. config_path = tmpdir / "config"
  9. config.list_bookmarks(config_path)
  10. captured = capsys.readouterr()
  11. assert captured.out == "You have no bookmarks to display.\n"