Skip to content

Commit

Permalink
fixup! tests: Add tests for Registry host portal
Browse files Browse the repository at this point in the history
  • Loading branch information
jadahl authored and GeorgesStavracas committed Jan 27, 2025
1 parent 2b54a75 commit 8289226
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ def create_dummy_session(self, dbus_con):
request = xdp.Request(dbus_con, remotedesktop_intf)

session_counter_attr_name = "session_counter"
if hasattr(self, session_counter_attr_name):
session_counter = getattr(self, session_counter_attr_name)
else:
session_counter = 0
session_counter = getattr(self, session_counter_attr_name, 0)
setattr(self, session_counter_attr_name, session_counter + 1)

options = {
Expand Down

0 comments on commit 8289226

Please sign in to comment.