Esempio n. 1
0
 def test_imax_3d_4k(self):
     self.assertEqual("IMAX 3D in 4K (aka 'Get over yourself')",
                      get_category_name(PresentationCategory.IMAX_3D_4K))
Esempio n. 2
0
 def test_imax_3k(self):
     self.assertEqual("IMAX in 4K",
                      get_category_name(PresentationCategory.IMAX_4K))
Esempio n. 3
0
 def test_returns_3d_4k(self):
     self.assertEqual("3D in 4K",
                      get_category_name(PresentationCategory.THREE_D_4K))
Esempio n. 4
0
 def test_returns_imax_3d(self):
     self.assertEqual("IMAX 3D",
                      get_category_name(PresentationCategory.IMAX_3D))
Esempio n. 5
0
 def test_returns_4k(self):
     self.assertEqual("4K", get_category_name(PresentationCategory.FOUR_K))
Esempio n. 6
0
 def test_returns_imax(self):
     self.assertEqual("IMAX", get_category_name(PresentationCategory.IMAX))
Esempio n. 7
0
 def test_returns_3d(self):
     self.assertEqual("3D", get_category_name(PresentationCategory.THREE_D))
Esempio n. 8
0
 def test_returns_for_standard_category(self):
     self.assertEqual("Standard",
                      get_category_name(PresentationCategory.STANDARD))
Esempio n. 9
0
def get_formatted_category(category):
    return stylize(get_formatted_header(get_category_name(category)),
                   fg(get_category_color(category)))