From 4dcc5042e6a5ab70de755e2d9d3bdab7e37d45f5 Mon Sep 17 00:00:00 2001
From: Russell Teague <rteague@redhat.com>
Date: Wed, 27 Sep 2017 10:18:23 -0400
Subject: Rename filter_plugins to unique names

Filter plugin modules should have unique names to not conflict with core
Ansible modules.  (Ansible 2.4)
---
 .../src/test/integration/filter_plugins/filters.py | 28 ----------------------
 .../integration/filter_plugins/test_filters.py     | 28 ++++++++++++++++++++++
 2 files changed, 28 insertions(+), 28 deletions(-)
 delete mode 100644 roles/lib_openshift/src/test/integration/filter_plugins/filters.py
 create mode 100644 roles/lib_openshift/src/test/integration/filter_plugins/test_filters.py

(limited to 'roles/lib_openshift/src')

diff --git a/roles/lib_openshift/src/test/integration/filter_plugins/filters.py b/roles/lib_openshift/src/test/integration/filter_plugins/filters.py
deleted file mode 100644
index f350bd25d..000000000
--- a/roles/lib_openshift/src/test/integration/filter_plugins/filters.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-'''
-Custom filters for use in testing
-'''
-
-
-class FilterModule(object):
-    ''' Custom filters for use in integration testing '''
-
-    @staticmethod
-    def label_dict_to_key_value_list(label_dict):
-        ''' Given a dict of labels/values, return list of key: <key> value: <value> pairs
-
-            These are only used in integration testing.
-        '''
-
-        label_list = []
-        for key in label_dict:
-            label_list.append({'key': key, 'value': label_dict[key]})
-
-        return label_list
-
-    def filters(self):
-        ''' returns a mapping of filters to methods '''
-        return {
-            "label_dict_to_key_value_list": self.label_dict_to_key_value_list,
-        }
diff --git a/roles/lib_openshift/src/test/integration/filter_plugins/test_filters.py b/roles/lib_openshift/src/test/integration/filter_plugins/test_filters.py
new file mode 100644
index 000000000..f350bd25d
--- /dev/null
+++ b/roles/lib_openshift/src/test/integration/filter_plugins/test_filters.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+'''
+Custom filters for use in testing
+'''
+
+
+class FilterModule(object):
+    ''' Custom filters for use in integration testing '''
+
+    @staticmethod
+    def label_dict_to_key_value_list(label_dict):
+        ''' Given a dict of labels/values, return list of key: <key> value: <value> pairs
+
+            These are only used in integration testing.
+        '''
+
+        label_list = []
+        for key in label_dict:
+            label_list.append({'key': key, 'value': label_dict[key]})
+
+        return label_list
+
+    def filters(self):
+        ''' returns a mapping of filters to methods '''
+        return {
+            "label_dict_to_key_value_list": self.label_dict_to_key_value_list,
+        }
-- 
cgit v1.2.3