Project

Profile

Help

Issue #2207

closed

2 broken unit tests on EL6

Added by dkliban@redhat.com over 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.10.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

unit.plugins.migration.test_standard_storage_path.TestBatch.test_migrate

Traceback (most recent call last):
  File "/usr/lib64/python2.6/unittest.py", line 278, in run
    testMethod()
  File "/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/server/test/unit/plugins/migration/test_standard_storage_path.py", line 139, in test_migrate
    self.assertIn(expected_call, plan.migrate.call_args_list)
AttributeError: 'TestBatch' object has no attribute 'assertIn'

unit.plugins.migration.test_standard_storage_path.TestBatch.test_relink

Traceback (most recent call last):
  File "/usr/lib64/python2.6/unittest.py", line 278, in run
    testMethod()
  File "/home/jenkins/.virtualenvs/test/lib/python2.6/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/server/test/unit/plugins/migration/test_standard_storage_path.py", line 120, in test_relink
    self.assertIn(link_call, symlink.call_args_list)
AttributeError: 'TestBatch' object has no attribute 'assertIn'

Also available in: Atom PDF