# Path: flowcelltool/flowcells/templatetags/flowcells_tags.py
# def sizify(value):
# def fa_mime_type(value):
# def integer_range(value):
# def multiply(value, arg):
# def startswith(text, starts):
# def has_group(user, group_name):
# def flow_cell_mode(info_reads):
# def flowcell_mode_ok(flowcell):
# def status_to_icon(status):
# def status_to_title(status):
# def get_status_form(flowcell, attribute, csrf_tag):


from test_plus.test import TestCase
from ..templatetags import flowcells_tags
# -*- coding: utf-8 -*-
"""Tests for template tags
"""




class TestSizify(TestCase):

    def test_kb(self):
        self.assertEquals(
            flowcells_tags.sizify(100), '0.1 kb')
        self.assertEquals(

# Path: flowcelltool/flowcells/templatetags/flowcells_tags.py
# def sizify(value):
# def fa_mime_type(value):
# def integer_range(value):
# def multiply(value, arg):
# def startswith(text, starts):
# def has_group(user, group_name):
# def flow_cell_mode(info_reads):
# def flowcell_mode_ok(flowcell):
# def status_to_icon(status):
# def status_to_title(status):
# def get_status_form(flowcell, attribute, csrf_tag):


# Path: flowcelltool/flowcells/tests/test_templatetags.py
from test_plus.test import TestCase
from ..templatetags import flowcells_tags

# -*- coding: utf-8 -*-
"""Tests for template tags
"""




class TestSizify(TestCase):

    def test_kb(self):
        self.assertEquals(
            flowcells_tags.sizify(100), '0.1 kb')
        self.assertEquals(

            flowcells_tags.sizify(512000 - 1), '500.0 kb')