Skip to content

Conditional skip for datetime test cases #246

Closed
@DifferentialOrange

Description

@DifferentialOrange

There are two tarantool-python + Tarantool integration tests for datetime arithmetic that are skipped for now due to core bugs:

@skip_or_run_datetime_test
@unittest.skip('See https://github.com/tarantool/tarantool/issues/7698')
def test_tarantool_datetime_subtraction_different_timezones(self):
case = self.datetime_subtraction_different_timezones_case
self.assertSequenceEqual(self.con.call('sub', case['arg_1'], case['arg_2']),
[case['res']])

@skip_or_run_datetime_test
@unittest.skip('See https://github.com/tarantool/tarantool/issues/7700')
def test_tarantool_datetime_addition_winter_time_switch(self):
case = self.datetime_addition_winter_time_switch_case
self.assertSequenceEqual(self.con.call('add', case['arg_1'], case['arg_2']),
[case['res']])

This skips should be changed to conditional skips after Tarantool release (now bugs are fixed, but there is no tagged version with fix).

Metadata

Metadata

Labels

code healthImprove code readability, simplify maintenance and so on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions