Exemplo n.º 1
0
 def test_inv_wo_test_id(self):
     inv_test = INV(**self.dummy_test_data,
                    expect=Expect.eq(),
                    name="inv test without test id")
     assert inv_test.test_id is None
Exemplo n.º 2
0
 def test_inv_w_test_id(self):
     inv_test = INV(**self.dummy_test_data,
                    expect=Expect.eq(),
                    name="inv test with test id",
                    test_id=self.test_id)
     assert inv_test.test_id == self.test_id
Exemplo n.º 3
0
 def test_dir_wo_test_id(self):
     dir_test = DIR(**self.dummy_test_data,
                    expect=Expect.eq(),
                    name="dir test without test id")
     assert dir_test.test_id is None
Exemplo n.º 4
0
 def test_dir_w_test_id(self):
     dir_test = DIR(**self.dummy_test_data,
                    expect=Expect.eq(),
                    name="dir test with test id",
                    test_id=self.test_id)
     assert dir_test.test_id == self.test_id
Exemplo n.º 5
0
 def test_mft_wo_test_id(self):
     mft_test = MFT(**self.dummy_test_data,
                    expect=Expect.eq(),
                    name="mft test without test id")
     assert mft_test.test_id is None
Exemplo n.º 6
0
 def test_mft_w_test_id(self):
     mft_test = MFT(**self.dummy_test_data,
                    expect=Expect.eq(),
                    name="mft test with test id",
                    test_id=self.test_id)
     assert mft_test.test_id == self.test_id