Skip to content

Commit d9574c8

Browse files
committed
fix test
1 parent 830dc5f commit d9574c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration/test_gitbucket.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ def local_namespace(self):
2929

3030
def get_service(self):
3131
return gitbucket.GitbucketService(c={
32-
'__name__': 'gitrepo "gitbucket-test"',
32+
'__name__': 'gitrepo "gitbucket"',
3333
'fqdn': "localhost",
3434
'port': "8080",
3535
'scheme': "http",
3636
'insecure': 'yes',
37-
'token': os.environ['GITBUCKET_TOKEN']
3837
})
3938

4039
def get_requests_session(self):
@@ -65,8 +64,9 @@ def test_01_create_organization__already_exists(self):
6564

6665

6766
def test_02_delete(self):
68-
self.action_delete(namespace=self.local_namespace,
69-
repository='foobar')
67+
with pytest.raises(NotImplementedError):
68+
self.action_delete(namespace=self.local_namespace,
69+
repository='foobar')
7070

7171
def test_03_delete_nouser(self):
7272
with pytest.raises(NotImplementedError):

0 commit comments

Comments
 (0)