Exemple #1
0
 def test_imax_3d(self):
     self.assertEqual("cyan",
                      get_category_color(PresentationCategory.IMAX_3D))
Exemple #2
0
 def test_imax_3d_4k(self):
     self.assertEqual("orange",
                      get_category_color(PresentationCategory.IMAX_3D_4K))
Exemple #3
0
 def test_four_k(self):
     self.assertEqual("yellow",
                      get_category_color(PresentationCategory.FOUR_K))
Exemple #4
0
 def test_three_d_four_k(self):
     self.assertEqual("plum_4",
                      get_category_color(PresentationCategory.THREE_D_4K))
Exemple #5
0
 def test_imax(self):
     self.assertEqual("red", get_category_color(PresentationCategory.IMAX))
Exemple #6
0
 def test_three_d(self):
     self.assertEqual("green",
                      get_category_color(PresentationCategory.THREE_D))
Exemple #7
0
 def test_standard(self):
     self.assertEqual("blue",
                      get_category_color(PresentationCategory.STANDARD))
Exemple #8
0
 def test_imax_4k(self):
     self.assertEqual("magenta",
                      get_category_color(PresentationCategory.IMAX_4K))
Exemple #9
0
def get_formatted_category(category):
    return stylize(get_formatted_header(get_category_name(category)),
                   fg(get_category_color(category)))