A console script that allows you to easily update multiple git repositories at once
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

15 líneas
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"