From d6ee14e219284fa99865ae631e8361fe3b1c67a6 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 3 Aug 2015 14:13:38 -0400 Subject: [PATCH] Add one more parsing test for scopes --- test/test_auth.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_auth.py b/test/test_auth.py index ebaf45c3c..a8196104e 100644 --- a/test/test_auth.py +++ b/test/test_auth.py @@ -158,6 +158,9 @@ class TestAuth(ApiTestCase): # Invalid scope strings. self.assertParsedScopes('repo:read|repo:admin') + # Mixture of delimiters. + self.assertParsedScopes('repo:read, repo:admin') + def test_subset_string(self): self.assertTrue(is_subset_string('repo:read', 'repo:read')) self.assertTrue(is_subset_string('repo:read repo:admin', 'repo:read'))