improvements, start integration tests

improved various funcs, removed extraneous things (e.g. Item.Attrs).

first integration test. more will come.
This commit is contained in:
2021-12-07 02:56:15 -05:00
parent 0fc0e0c269
commit b6ba0f9736
10 changed files with 70 additions and 31 deletions

View File

@@ -18,7 +18,7 @@ func NewSession(service *Service, path dbus.ObjectPath) (session *Session) {
},
service: service,
}
session.Dbus = session.Conn.Object(DbusInterfaceSession, path)
ssn.Dbus = ssn.Conn.Object(DbusInterfaceSession, path)
session = &ssn