def test_echarts_postion_with_one_element_set(): test_sequence = set(["echarts"]) result = _ensure_echarts_is_in_the_front(test_sequence) eq_(result[0], "echarts")
def test_echarts_postion_with_nothing(): test_sequence = set() _ensure_echarts_is_in_the_front(test_sequence)
def test_echarts_postion_in_dependency_list(): test_sequence = set(["guangdong", "shanghai", "echarts"]) result = _ensure_echarts_is_in_the_front(test_sequence) eq_(result[0], "echarts")
def test_echarts_postion_with_nothing(): test_sequence = set() _ensure_echarts_is_in_the_front(test_sequence)
def test_echarts_postion_with_one_element_set(): test_sequence = set(['echarts']) result = _ensure_echarts_is_in_the_front(test_sequence) eq_(result[0], 'echarts')
def test_echarts_postion_in_dependency_list(): test_sequence = set(['guangdong', 'shanghai', 'echarts']) result = _ensure_echarts_is_in_the_front(test_sequence) eq_(result[0], 'echarts')
def test_echarts_postion_in_dependency_list(): test_sequence = set(["guangdong", "shanghai", "echarts"]) result = _ensure_echarts_is_in_the_front(test_sequence) eq_(result[0], "echarts")