Skip to content

Commit

Permalink
Merge pull request #21 from rootifera/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rootifera authored Feb 22, 2024
2 parents 1d5f91a + 838e68f commit a6721c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ zone_id = bac2c70a29af0af61ef61e219410ae02902
email = [email protected]
```


No support for a global API key; you will need to create an API Token. I named the config value 'api_key,' and I just
noticed it should have been 'api_token.' If you want to manage multiple domains, unfortunately, this is not possible at
the moment, but it's on my to-do list.

No support for a global API key; you will need to create an API Token. If you want to manage multiple domains,
unfortunately, this is not possible at the moment, but it's on my to-do list.

##### dns_records.cfg

Expand Down
5 changes: 2 additions & 3 deletions tests/test_config_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import configparser

import pytest

from the_ddns_thing import config_manager


Expand Down Expand Up @@ -160,9 +162,6 @@ def test_update_domain_ids(tmp_path, monkeypatch):
assert updated_config['anotherexample.com']['id'] == '54321'


import pytest


def test_validate_credentials_missing_values(tmp_path, monkeypatch):
credentials_file = tmp_path / "credentials.cfg"
credentials_content = """
Expand Down

0 comments on commit a6721c5

Please sign in to comment.