Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit c2a1fad

Browse files
author
Samuel Hassine
committed
[client] Fix tests
1 parent 9281d3e commit c2a1fad

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
===================================================
2-
``pycti.entities.opencti_stix_observable_relation``
2+
``pycti.entities.opencti_stix_observable_relationship``
33
===================================================
44

5-
.. automodule:: pycti.entities.opencti_stix_observable_relation
5+
.. automodule:: pycti.entities.opencti_stix_observable_relationship
66

77
.. contents::
88
:local:
99

10-
.. currentmodule:: pycti.entities.opencti_stix_observable_relation
10+
.. currentmodule:: pycti.entities.opencti_stix_observable_relationship

docs/pycti/pycti.entities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Submodules
3030
pycti.entities.opencti_stix_domain_object
3131
pycti.entities.opencti_stix_entity
3232
pycti.entities.opencti_stix_observable
33-
pycti.entities.opencti_stix_observable_relation
33+
pycti.entities.opencti_stix_observable_relationship
3434
pycti.entities.opencti_stix_relation
3535
pycti.entities.opencti_stix_sighting
3636
pycti.entities.opencti_tag

pycti/api/opencti_api_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
from pycti.entities.opencti_stix_cyber_observable import StixCyberObservable
2626
from pycti.entities.opencti_stix_core_relationship import StixCoreRelationship
2727
from pycti.entities.opencti_stix_sighting_relationship import StixSightingRelationship
28-
from pycti.entities.opencti_stix_cyber_observable_relation import (
29-
StixCyberObservableRelation,
28+
from pycti.entities.opencti_stix_cyber_observable_relationship import (
29+
StixCyberObservableRelationship,
3030
)
3131
from pycti.entities.opencti_identity import Identity
3232
from pycti.entities.opencti_location import Location
@@ -119,7 +119,7 @@ def __init__(self, url, token, log_level="info", ssl_verify=False, proxies={}):
119119
self.stix_cyber_observable = StixCyberObservable(self, File)
120120
self.stix_core_relationship = StixCoreRelationship(self)
121121
self.stix_sighting_relationship = StixSightingRelationship(self)
122-
self.stix_observable_relation = StixCyberObservableRelation(self)
122+
self.stix_observable_relationship = StixCyberObservableRelationship(self)
123123
self.identity = Identity(self)
124124
self.location = Location(self)
125125
self.threat_actor = ThreatActor(self)

0 commit comments

Comments
 (0)