outsource flexgrid constants import in functests
[transportpce.git] / tests / transportpce_tests / common / test_utils.py
index 9d3bfec3eb62c86a8518b42363a68fb906905df0..34238bcc52a3edcc3927d80061d1841fd487a6c7 100644 (file)
@@ -11,7 +11,6 @@
 
 # pylint: disable=no-member
 
-import base64
 import json
 import os
 import sys
@@ -465,20 +464,3 @@ class TimeOut:
         # pylint: disable=W0622
         signal.alarm(0)
 
-
-def check_freq_map(freq_map):
-    freq_map_array = [int(x) for x in freq_map]
-    return freq_map_array[0] == 255 and freq_map_array[1] == 255
-
-
-def set_used_index_for_freq_map(freq_map, index):
-    freq_map[index] = 0
-    return freq_map
-
-
-INDEX_1_USED_FREQ_MAP = base64.b64encode(set_used_index_for_freq_map(bytearray(b'\xFF' * 96), 0)).decode('UTF-8')
-
-INDEX_1_2_USED_FREQ_MAP = base64.b64encode(set_used_index_for_freq_map(
-    set_used_index_for_freq_map(bytearray(b'\xFF' * 96), 0), 1)).decode('utf-8')
-
-AVAILABLE_FREQ_MAP = base64.b64encode(bytearray(b'\xFF' * 96)).decode('UTF-8')