Beispiel #1
0
    def empty_title(self):
        """Test empty_title layout function."""
        ref_title = ''
        out = layouts.detail_title(self.prog, self.device)

        self.assertEqual(out, ref_title)
Beispiel #2
0
    def detail_title(self):
        """Test detail_title layout function."""
        ref_title = 'Name: test_sched, Duration: 100.0 ns, Backend: test_backend'
        out = layouts.detail_title(self.prog, self.device)

        self.assertEqual(out, ref_title)