added missing unittest.main() for tests_remote.py
This commit is contained in:
parent
4c782f451d
commit
119d0e0344
@ -28,6 +28,7 @@
|
|||||||
"""Tests for Remote objects."""
|
"""Tests for Remote objects."""
|
||||||
|
|
||||||
|
|
||||||
|
import unittest
|
||||||
import pygit2
|
import pygit2
|
||||||
from . import utils
|
from . import utils
|
||||||
|
|
||||||
@ -104,3 +105,7 @@ class EmptyRepositoryTest(utils.EmptyRepoTestCase):
|
|||||||
self.assertEqual(stats['received_bytes'], REMOTE_REPO_BYTES)
|
self.assertEqual(stats['received_bytes'], REMOTE_REPO_BYTES)
|
||||||
self.assertEqual(stats['indexed_objects'], REMOTE_REPO_OBJECTS)
|
self.assertEqual(stats['indexed_objects'], REMOTE_REPO_OBJECTS)
|
||||||
self.assertEqual(stats['received_objects'], REMOTE_REPO_OBJECTS)
|
self.assertEqual(stats['received_objects'], REMOTE_REPO_OBJECTS)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
unittest.main()
|
||||||
|
Loading…
Reference in New Issue
Block a user