A console script that allows you to easily update multiple git repositories at once
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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"