Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: Ic15a3a8f8751148ff484f87679ad4bad2accc616
Signed-off-by: czichy <thoralf.czichy@nokia.com>
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__
and this project adheres to `Semantic Versioning <http://semver.org/>`__.
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__
and this project adheres to `Semantic Versioning <http://semver.org/>`__.
+[3.2.1] - 2022-12-12
+--------------------
+* small permission fix in python init files
+
[3.2.0] - 2022-06-16
--------------------
* Added REST E2 subscription support
[3.2.0] - 2022-06-16
--------------------
* Added REST E2 subscription support
severity_level = Level.ERROR
severity_level = Level.ERROR
print("Invalid Log Level defined in ConfigMap")
print("Invalid Log Level defined in ConfigMap")
- elif((level.upper() == "ERROR") or (level.upper() == "ERR")):
+ elif ((level.upper() == "ERROR") or (level.upper() == "ERR")):
severity_level = Level.ERROR
severity_level = Level.ERROR
- elif((level.upper() == "WARNING") or (level.upper() == "WARN")):
+ elif ((level.upper() == "WARNING") or (level.upper() == "WARN")):
severity_level = Level.WARNING
severity_level = Level.WARNING
- elif(level.upper() == "INFO"):
+ elif (level.upper() == "INFO"):
severity_level = Level.INFO
severity_level = Level.INFO
- elif(level.upper() == "DEBUG"):
+ elif (level.upper() == "DEBUG"):
severity_level = Level.DEBUG
self.set_level(severity_level)
severity_level = Level.DEBUG
self.set_level(severity_level)
setup(
name="ricxappframe",
setup(
name="ricxappframe",
packages=find_packages(exclude=["tests.*", "tests"]),
author="O-RAN Software Community",
description="Xapp and RMR framework for Python",
packages=find_packages(exclude=["tests.*", "tests"]),
author="O-RAN Software Community",
description="Xapp and RMR framework for Python",
summary = rmr.message_summary(sbuf_rcv)
assert summary[rmr.RMR_MS_MSG_STATE] == rmr.RMR_ERR_TIMEOUT
assert summary[rmr.RMR_MS_MSG_STATUS] == "RMR_ERR_TIMEOUT"
summary = rmr.message_summary(sbuf_rcv)
assert summary[rmr.RMR_MS_MSG_STATE] == rmr.RMR_ERR_TIMEOUT
assert summary[rmr.RMR_MS_MSG_STATUS] == "RMR_ERR_TIMEOUT"
- assert(time.time() - start_rcv_sec > 0.5) # test duration should be longer than the timeout
+ assert (time.time() - start_rcv_sec > 0.5) # test duration should be longer than the timeout
start_rcv_sec = time.time()
bundle = helpers.rmr_rcvall_msgs(MRC_RCV, timeout=1001) # non-zero timeout means wait
assert len(bundle) == 0 # we should get none
start_rcv_sec = time.time()
bundle = helpers.rmr_rcvall_msgs(MRC_RCV, timeout=1001) # non-zero timeout means wait
assert len(bundle) == 0 # we should get none
- assert(time.time() - start_rcv_sec > 1) # test duration should be longer than 1 second
+ assert (time.time() - start_rcv_sec > 1) # test duration should be longer than 1 second
start_rcv_sec = time.time()
bundle = helpers.rmr_rcvall_msgs_raw(MRC_RCV, timeout=1002) # non-zero timeout means wait
assert len(bundle) == 0 # we should get none
start_rcv_sec = time.time()
bundle = helpers.rmr_rcvall_msgs_raw(MRC_RCV, timeout=1002) # non-zero timeout means wait
assert len(bundle) == 0 # we should get none
- assert(time.time() - start_rcv_sec > 1) # test duration should be longer than 1 second
+ assert (time.time() - start_rcv_sec > 1) # test duration should be longer than 1 second