Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Sep 13, 2024
1 parent 97dbfa1 commit b752f1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion horde/classes/base/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ def check_in(self, **kwargs):
# So that they have to stay up at least 10 mins to get uptime kudos
self.last_reward_uptime = self.uptime
self.last_check_in = datetime.utcnow()
db.session.commit()

def get_human_readable_uptime(self):
if self.uptime < 60:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,6 @@ def quick_pop(api_key: str, HORDE_URL: str, CIVERSION: str) -> None:

if __name__ == "__main__":
# "ci/cd#12285"
# test_simple_image_gen("2bc5XkMeLAWiN9O5s7bhfg", "dev.stablehorde.net", "0.2.0")
# test_flux_image_gen("2bc5XkMeLAWiN9O5s7bhfg", "dev.stablehorde.net", "0.2.0")
test_simple_image_gen("2bc5XkMeLAWiN9O5s7bhfg", "dev.stablehorde.net", "0.2.0")
test_flux_image_gen("2bc5XkMeLAWiN9O5s7bhfg", "dev.stablehorde.net", "0.2.0")
quick_pop("2bc5XkMeLAWiN9O5s7bhfg", "dev.stablehorde.net", "0.2.0")

0 comments on commit b752f1f

Please sign in to comment.