Skip to content
Snippets Groups Projects
Commit b5d38396 authored by kmadisa's avatar kmadisa
Browse files

Testing initial values of attributes.

parent 2f1532d4
Branches
Tags v0.32.2
No related merge requests found
......@@ -96,7 +96,7 @@ class TestSKABaseDevice(object):
def test_centralLoggingLevel(self, tango_context):
"""Test for centralLoggingLevel"""
# PROTECTED REGION ID(SKABaseDevice.test_centralLoggingLevel) ENABLED START #
tango_context.device.centralLoggingLevel
assert tango_context.device.centralLoggingLevel == 0
tango_context.device.write_attribute("centralLoggingLevel", 1)
assert tango_context.device.centralLoggingLevel == 1
# PROTECTED REGION END # // SKABaseDevice.test_centralLoggingLevel
......@@ -112,7 +112,7 @@ class TestSKABaseDevice(object):
def test_storageLoggingLevel(self, tango_context):
"""Test for storageLoggingLevel"""
# PROTECTED REGION ID(SKABaseDevice.test_storageLoggingLevel) ENABLED START #
tango_context.device.storageLoggingLevel
assert tango_context.device.storageLoggingLevel == 0
tango_context.device.write_attribute("storageLoggingLevel", 1)
assert tango_context.device.storageLoggingLevel == 1
# PROTECTED REGION END # // SKABaseDevice.test_storageLoggingLevel
......
......@@ -51,4 +51,3 @@ def initialize_device(tango_context):
Context to run a device without a database.
"""
yield tango_context.device.Init()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment