Commit 8f1d94fd authored by Celine Mercier's avatar Celine Mercier

obi test: fixed bug introduced in ad1fd3c3

parent 38f42cb0
......@@ -301,8 +301,8 @@ def fill_column(config, infos, col) :
def create_random_column(config, infos) :
alias = random.choice([b'', random_unique_name(infos)])
tuples = random.choice([True, False])
dict_column = False
if not tuples :
dict_column = random.choice([True, False])
nb_elements_per_line=random.randint(1, config['test']['maxelts'])
if nb_elements_per_line > 1:
dict_column = True
......@@ -311,7 +311,6 @@ def create_random_column(config, infos) :
elements_names.append(random_unique_element_name(config, infos))
elements_names = random.choice([None, elements_names])
else :
dict_column = False
nb_elements_per_line = 1
elements_names = None
name = random_unique_name(infos)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment