예제 #1
0
 def test_exec(self):
     mw = QtWidgets.QWidget()
     mw.pt = _DuckPatient(
         (1, "", "", "", "The Gables", "Craggiemore Daviot", "Inverness",
          "", "", "IV2 5XQ", "", "active", ""))
     mw.pt.familyno = 1
     self.exec_(mw)
 def test_exec(self):
     mw = QtWidgets.QWidget()
     mw.pt = _DuckPatient((1, "", "", "", "The Gables",
                           "Craggiemore Daviot", "Inverness", "", "",
                           "IV2 5XQ", "", "active", ""))
     mw.pt.familyno = 1
     self.exec_(mw)
예제 #3
0
    def test_exec(self):
        mw = QtWidgets.QWidget()
        mw.pt = _DuckPatient((1, "", "", "", "The Gables",
                              "Craggiemore", "Inverness", "", "",
                              "IV2 5XQ", "", "active", ""))

        self.exec_(mw)
        print(self.dl.selected_patients)