Skip to content

Conversation

@stefanor
Copy link
Contributor

This allows easier introspection of API responses. Very useful for unit-testing behaviour of wrappers of hcloud.

Copy link
Member

@jooola jooola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition thanks, I am bit worry of the side effects.

@stefanor
Copy link
Contributor Author

Great addition thanks, I am bit worry of the side effects.

The good news is that nothing is currently equal, so if we implement a fairly strict equality requirement, I can't imagine we'd have too many negative side-effects.

@codecov
Copy link

codecov bot commented Mar 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.93%. Comparing base (125a2ba) to head (9e083d6).
Report is 20 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #481      +/-   ##
==========================================
+ Coverage   92.90%   92.93%   +0.02%     
==========================================
  Files          64       64              
  Lines        3002     3014      +12     
==========================================
+ Hits         2789     2801      +12     
  Misses        213      213              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This allows easier introspection of API responses. Very useful for
unit-testing behaviour of wrappers of hcloud.
Copy link
Member

@jooola jooola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The good news is that nothing is currently equal, so if we implement a fairly strict equality requirement, I can't imagine we'd have too many negative side-effects.

Agreed :)

Looks great, just have one last question.

@jooola jooola changed the title Add equality checks to Domains feat: add equality checks to domains Mar 19, 2025
@jooola jooola merged commit 4d430f6 into hetznercloud:main Mar 19, 2025
10 checks passed
This was referenced Mar 19, 2025
jooola pushed a commit that referenced this pull request Mar 19, 2025
<!-- section-start changelog -->
### Features

- drop support for python 3.8 (#458)
- add equality checks to domains (#481)

### Bug Fixes

- server public ipv4 and ipv6 properties are nullable (#455)

<!-- section-end changelog -->

---

<details>
<summary><h4>PR by <a
href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a>
🤖</h4></summary>

If you want to modify the proposed release, add you overrides here. You
can learn more about the options in the docs.

## Release Notes

### Prefix / Start

This will be added to the start of the release notes.

```rp-prefix
```

### Suffix / End

This will be added to the end of the release notes.

```rp-suffix
```

</details>

Co-authored-by: releaser-pleaser <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants