Skip to content

Commit

Permalink
integration/test_profiles: test setting description
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Oct 22, 2023
1 parent cf1a7ae commit 559eeab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration/test_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@ def test_create(self):
"""A profile is created."""
name = "an-profile"
config = {"limits.memory": "1GB"}
profile = self.client.profiles.create(name, config)
description = "Memory limiting profile"
profile = self.client.profiles.create(name, config, description=description)
self.addCleanup(self.delete_profile, name)

self.assertEqual(name, profile.name)
self.assertEqual(config, profile.config)
self.assertEqual(description, profile.description)


class TestProfile(IntegrationTestCase):
Expand Down

0 comments on commit 559eeab

Please sign in to comment.