8d2d2e5c8c
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
27 lines
706 B
Diff
27 lines
706 B
Diff
From 45f1dd636cb14cd45049393eb17238f518694455 Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Mracek <jmracek@redhat.com>
|
|
Date: Wed, 20 Jul 2016 16:44:07 +0200
|
|
Subject: [PATCH] Change name of def valid()
|
|
|
|
The change is required by privatization of non-API functions.
|
|
---
|
|
tests/support.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/support.py b/tests/support.py
|
|
index 31fb91f..3dbc4bd 100644
|
|
--- a/tests/support.py
|
|
+++ b/tests/support.py
|
|
@@ -161,7 +161,7 @@ class RepoStub(object):
|
|
self.priority = 99
|
|
self.cost = 1000
|
|
|
|
- def valid(self):
|
|
+ def _valid(self):
|
|
"""Return a message if the repository is not valid."""
|
|
|
|
def enable(self):
|
|
--
|
|
2.7.4
|
|
|