Exemple #1
0
def test_clear_both_clipboards():
    test_text_to_clipboards()
    cb.clear_both_clipboards()
    assert cb.read_primary() == ''
    assert cb.read_clipboard() == ''
def test_clear_both_clipboards():
    test_text_to_clipboards()
    cb.clear_both_clipboards()
    assert cb.read_primary() == ''
    assert cb.read_clipboard() == ''
Exemple #3
0
def setup_function(function):
    """Runs before each test function."""
    cb.clear_both_clipboards()
def setup_function(function):
    """Runs before each test function."""
    cb.clear_both_clipboards()