Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Job name change (#71)
Browse files Browse the repository at this point in the history
* job name update

* version bump

* test fix

Co-authored-by: Hugo <hugo.tinoco@networktocode.com>
  • Loading branch information
h4ndzdatm0ld and Hugo authored Jan 25, 2022
1 parent 18e6a5f commit 07b9a1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions nautobot_ssot_ipfabric/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
IPFABRIC_HOST = CONFIG["ipfabric_host"]
IPFABRIC_API_TOKEN = CONFIG["ipfabric_api_token"]

name = "Nautobot SSoT IPFabric" # pylint: disable=invalid-name
name = "SSoT - IPFabric" # pylint: disable=invalid-name


class OptionalObjectVar(ScriptVariable):
Expand Down Expand Up @@ -81,10 +81,10 @@ class IpFabricDataSource(DataSource, Job):
class Meta:
"""Metadata about this Job."""

name = "IP Fabric SSoT Sync"
name = "IPFabric ⟹ Nautobot"
data_source = "IP Fabric"
data_source_icon = static("nautobot_ssot_ipfabric/ipfabric.png")
description = "Synchronize data from IP Fabric into Nautobot."
description = "Sync data from IP Fabric into Nautobot."
field_order = (
"debug",
"safe_delete_mode",
Expand Down
6 changes: 3 additions & 3 deletions nautobot_ssot_ipfabric/tests/test_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ class IPFabricJobTest(TestCase):

def test_metadata(self):
"""Verify correctness of the Job Meta attributes."""
self.assertEqual("IP Fabric SSoT Sync", jobs.IpFabricDataSource.name)
self.assertEqual("IP Fabric SSoT Sync", jobs.IpFabricDataSource.Meta.name)
self.assertEqual("IPFabric ⟹ Nautobot", jobs.IpFabricDataSource.name)
self.assertEqual("IPFabric ⟹ Nautobot", jobs.IpFabricDataSource.Meta.name)
self.assertEqual("IP Fabric", jobs.IpFabricDataSource.Meta.data_source)
self.assertEqual("Synchronize data from IP Fabric into Nautobot.", jobs.IpFabricDataSource.Meta.description)
self.assertEqual("Sync data from IP Fabric into Nautobot.", jobs.IpFabricDataSource.Meta.description)

def test_data_mapping(self):
"""Verify correctness of the data_mappings() API."""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nautobot-ssot-ipfabric"
version = "0.9.2"
version = "0.9.3"
description = "Nautobot SSoT IPFabric"
authors = ["Network to Code, LLC <info@networktocode.com>"]
license = "Apache-2.0"
Expand Down

0 comments on commit 07b9a1b

Please sign in to comment.