mirror of
https://opendev.org/openstack/openstack.git
synced 2026-01-16 23:02:00 +00:00
Update git submodules
* Update swift from branch 'master'
to 20a2c47d9f5d0883c7a68baaab1c9e2c061f6748
- Merge "ssync: Refactor tests to use Timestamp and new assert"
- ssync: Refactor tests to use Timestamp and new assert
Created a new assertConnectionMessages() assert that will take it a list
of message strings (without the length and added \r\n), these are added
and compared against the actual connection messages passed in.
I.e:
self.assertEqual(
b''.join(connection.sent),
b'17\r\n:MISSING_CHECK: START\r\n\r\n'
b'15\r\n:MISSING_CHECK: END\r\n\r\n')
Becomes:
self.assertConnectionMessages(
[b':MISSING_CHECK: START',
b':MISSING_CHECK: END']
connection.sent)
And the hex lengths are automatically calculated. This because more
useful when you pass in variable messages and timestamps.
Change-Id: I405e218f6e6d6f12818f611e08d5c7f8963ee8c6
Signed-off-by: Matthew Oliver <matt@oliver.net.au>
This commit is contained in:
parent
24e6c6b227
commit
2c9d0fa131
1 changed files with 1 additions and 1 deletions
2
swift
2
swift
|
|
@ -1 +1 @@
|
|||
Subproject commit 0eabd90388e88d5d45d8b3985f454c15798efcbb
|
||||
Subproject commit 20a2c47d9f5d0883c7a68baaab1c9e2c061f6748
|
||||
Loading…
Add table
Reference in a new issue