A console script that allows you to easily update multiple git repositories at once
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

test_bookmarks.py 459 B

1234567891011121314
  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"