The issue about unittests of swift configuration.

Asked by Lawrnecy Meng

After I deployment swift in my env, I make the unittest about it.
Here I meet this error

Detail in here:
http://paste.openstack.org/show/18866/

I guess that the answer is about swiftclient, but how can fix it?

Thk you help..

MQL

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Chmouel Boudjnah
Solved:
Last query:
Last reply:
Revision history for this message
Best Chmouel Boudjnah (chmouel) said :
#1

You can install swiftclient from : https://github.com/openstack/python-swiftclient

Revision history for this message
Lawrnecy Meng (longeek) said :
#2

Tks Boudjnah, I have fixed it from source code, But how to install swift client with apt-get ?

--------------------
China OpenStack User Group (COSUG) - http://www.openstack.org.cn

To join the mailing list - visit this group at: http://groups.google.com/group/china-openstack-user-group

General user online chat group: QQ ID: 11315737
Developer user online chat group: QQ ID: 202265873
--------------------

From: Chmouel Boudjnah
Date: 2012-06-27 16:01
To: mengql112233
Subject: Re: [Question #201582]: The issue about unittests of swift configuration.
Your question #201582 on OpenStack Object Storage (swift) changed:
https://answers.launchpad.net/swift/+question/201582

    Status: Open => Answered

Chmouel Boudjnah proposed the following answer:
You can install swiftclient from : https://github.com/openstack/python-
swiftclient

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/swift/+question/201582/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/swift/+question/201582

You received this question notification because you asked the question.

Revision history for this message
Lawrnecy Meng (longeek) said :
#3

Hi
when I run

FAIL: testHead (test.functional.tests.TestFileUTF8)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/swift/swift/test/functional/tests.py", line 1193, in testHead
    self.assertEquals(info['content_length'], self.env.file_size)
AssertionError: 13 != 128

I think that some env may help me, but why ?

--------------------
China OpenStack User Group (COSUG) - http://www.openstack.org.cn

To join the mailing list - visit this group at: http://groups.google.com/group/china-openstack-user-group

General user online chat group: QQ ID: 11315737
Developer user online chat group: QQ ID: 202265873
--------------------

From: Chmouel Boudjnah
Date: 2012-06-27 16:01
To: mengql112233
Subject: Re: [Question #201582]: The issue about unittests of swift configuration.
Your question #201582 on OpenStack Object Storage (swift) changed:
https://answers.launchpad.net/swift/+question/201582

    Status: Open => Answered

Chmouel Boudjnah proposed the following answer:
You can install swiftclient from : https://github.com/openstack/python-
swiftclient

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/swift/+question/201582/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/swift/+question/201582

You received this question notification because you asked the question.

Revision history for this message
Lawrnecy Meng (longeek) said :
#4

Thanks Chmouel Boudjnah, that solved my question.