예제 #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))
예제 #2
0
 def test_imax_3k(self):
     self.assertEqual("IMAX in 4K",
                      get_category_name(PresentationCategory.IMAX_4K))
예제 #3
0
 def test_returns_3d_4k(self):
     self.assertEqual("3D in 4K",
                      get_category_name(PresentationCategory.THREE_D_4K))
예제 #4
0
 def test_returns_imax_3d(self):
     self.assertEqual("IMAX 3D",
                      get_category_name(PresentationCategory.IMAX_3D))
예제 #5
0
 def test_returns_4k(self):
     self.assertEqual("4K", get_category_name(PresentationCategory.FOUR_K))
예제 #6
0
 def test_returns_imax(self):
     self.assertEqual("IMAX", get_category_name(PresentationCategory.IMAX))
예제 #7
0
 def test_returns_3d(self):
     self.assertEqual("3D", get_category_name(PresentationCategory.THREE_D))
예제 #8
0
 def test_returns_for_standard_category(self):
     self.assertEqual("Standard",
                      get_category_name(PresentationCategory.STANDARD))
예제 #9
0
파일: builders.py 프로젝트: jaebradley/flix
def get_formatted_category(category):
    return stylize(get_formatted_header(get_category_name(category)),
                   fg(get_category_color(category)))