• Home
  • Raw
  • Download

Lines Matching refs:assertFormatIsValue

541     def assertFormatIsValue(self, spec, member):  member in TestEnum
546 self.assertFormatIsValue('{}', Holiday.IDES_OF_MARCH)
547 self.assertFormatIsValue('{:}', Holiday.IDES_OF_MARCH)
548 self.assertFormatIsValue('{:20}', Holiday.IDES_OF_MARCH)
549 self.assertFormatIsValue('{:^20}', Holiday.IDES_OF_MARCH)
550 self.assertFormatIsValue('{:>20}', Holiday.IDES_OF_MARCH)
551 self.assertFormatIsValue('{:<20}', Holiday.IDES_OF_MARCH)
552 self.assertFormatIsValue('{:%Y %m}', Holiday.IDES_OF_MARCH)
553 self.assertFormatIsValue('{:%Y %m %M:00}', Holiday.IDES_OF_MARCH)
557 self.assertFormatIsValue('{}', Konstants.TAU)
558 self.assertFormatIsValue('{:}', Konstants.TAU)
559 self.assertFormatIsValue('{:20}', Konstants.TAU)
560 self.assertFormatIsValue('{:^20}', Konstants.TAU)
561 self.assertFormatIsValue('{:>20}', Konstants.TAU)
562 self.assertFormatIsValue('{:<20}', Konstants.TAU)
563 self.assertFormatIsValue('{:n}', Konstants.TAU)
564 self.assertFormatIsValue('{:5.2}', Konstants.TAU)
565 self.assertFormatIsValue('{:f}', Konstants.TAU)
569 self.assertFormatIsValue('{}', Grades.C)
570 self.assertFormatIsValue('{:}', Grades.C)
571 self.assertFormatIsValue('{:20}', Grades.C)
572 self.assertFormatIsValue('{:^20}', Grades.C)
573 self.assertFormatIsValue('{:>20}', Grades.C)
574 self.assertFormatIsValue('{:<20}', Grades.C)
575 self.assertFormatIsValue('{:+}', Grades.C)
576 self.assertFormatIsValue('{:08X}', Grades.C)
577 self.assertFormatIsValue('{:b}', Grades.C)
581 self.assertFormatIsValue('{}', Directional.WEST)
582 self.assertFormatIsValue('{:}', Directional.WEST)
583 self.assertFormatIsValue('{:20}', Directional.WEST)
584 self.assertFormatIsValue('{:^20}', Directional.WEST)
585 self.assertFormatIsValue('{:>20}', Directional.WEST)
586 self.assertFormatIsValue('{:<20}', Directional.WEST)