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