Skip to content

Commit

Permalink
Fix integration test for file put due to change in pylxd API
Browse files Browse the repository at this point in the history
This was missed in a previous commit.

Signed-off-by: Alex Kavanagh <alex@ajkavanagh.co.uk>
  • Loading branch information
ajkavanagh committed Jun 28, 2018
1 parent 14a0078 commit 2255e16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integration/test_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,9 @@ def test_put_get_file(self):
filepath = '/tmp/an_file'
data = b'abcdef'

# raises an exception if this fails.
retval = self.container.files.put(filepath, data)

self.assertTrue(retval)

contents = self.container.files.get(filepath)

self.assertEqual(data, contents)
Expand Down

0 comments on commit 2255e16

Please sign in to comment.