{"action":"created","issue":{"url":"https://api.github.com/repos/cannatag/ldap3/issues/247","repository_url":"https://api.github.com/repos/cannatag/ldap3","labels_url":"https://api.github.com/repos/cannatag/ldap3/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/cannatag/ldap3/issues/247/comments","events_url":"https://api.github.com/repos/cannatag/ldap3/issues/247/events","html_url":"https://github.com/cannatag/ldap3/issues/247","id":187278238,"number":247,"title":"How to run tests","user":{"login":"mvalkon","id":4346211,"avatar_url":"https://avatars.githubusercontent.com/u/4346211?v=3","gravatar_id":"","url":"https://api.github.com/users/mvalkon","html_url":"https://github.com/mvalkon","followers_url":"https://api.github.com/users/mvalkon/followers","following_url":"https://api.github.com/users/mvalkon/following{/other_user}","gists_url":"https://api.github.com/users/mvalkon/gists{/gist_id}","starred_url":"https://api.github.com/users/mvalkon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvalkon/subscriptions","organizations_url":"https://api.github.com/users/mvalkon/orgs","repos_url":"https://api.github.com/users/mvalkon/repos","events_url":"https://api.github.com/users/mvalkon/events{/privacy}","received_events_url":"https://api.github.com/users/mvalkon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-04T08:34:46Z","updated_at":"2016-11-04T08:42:10Z","closed_at":null,"body":"When trying to run tests for the library on either python 3.5, or python 2.7 I'm getting the following error:\r\n\r\n```\r\n(ldap3) emikkva@slartibartfast:~/code/ldap3 (master)\r\n→ ldap3/bin/nosetests -s test\r\nE\r\n======================================================================\r\nERROR: Failure: Exception (testing location UNKNOWN-EDIR is not valid)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/emikkva/code/ldap3/ldap3/lib/python3.5/site-packages/nose/failure.py\", line 39, in runTest\r\n    raise self.exc_val.with_traceback(self.tb)\r\n  File \"/home/emikkva/code/ldap3/ldap3/lib/python3.5/site-packages/nose/loader.py\", line 418, in loadTestsFromName\r\n    addr.filename, addr.module)\r\n  File \"/home/emikkva/code/ldap3/ldap3/lib/python3.5/site-packages/nose/importer.py\", line 47, in importFromPath\r\n    return self.importFromDir(dir_path, fqname)\r\n  File \"/home/emikkva/code/ldap3/ldap3/lib/python3.5/site-packages/nose/importer.py\", line 94, in importFromDir\r\n    mod = load_module(part_fqname, fh, filename, desc)\r\n  File \"/usr/lib/python3.5/imp.py\", line 244, in load_module\r\n    return load_package(name, filename)\r\n  File \"/usr/lib/python3.5/imp.py\", line 216, in load_package\r\n    return _load(spec)\r\n  File \"<frozen importlib._bootstrap>\", line 693, in _load\r\n  File \"<frozen importlib._bootstrap>\", line 673, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap_external>\", line 665, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 222, in _call_with_frames_removed\r\n  File \"/home/emikkva/code/ldap3/test/__init__.py\", line 235, in <module>\r\n    raise Exception('testing location ' + location + ' is not valid')\r\nException: testing location UNKNOWN-EDIR is not valid\r\n```\r\n\r\nAlso I'm seeing most of the tests fail in Travis. Any pointers?"},"comment":{"url":"https://api.github.com/repos/cannatag/ldap3/issues/comments/258372538","html_url":"https://github.com/cannatag/ldap3/issues/247#issuecomment-258372538","issue_url":"https://api.github.com/repos/cannatag/ldap3/issues/247","id":258372538,"user":{"login":"cannatag","id":1319333,"avatar_url":"https://avatars.githubusercontent.com/u/1319333?v=3","gravatar_id":"","url":"https://api.github.com/users/cannatag","html_url":"https://github.com/cannatag","followers_url":"https://api.github.com/users/cannatag/followers","following_url":"https://api.github.com/users/cannatag/following{/other_user}","gists_url":"https://api.github.com/users/cannatag/gists{/gist_id}","starred_url":"https://api.github.com/users/cannatag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cannatag/subscriptions","organizations_url":"https://api.github.com/users/cannatag/orgs","repos_url":"https://api.github.com/users/cannatag/repos","events_url":"https://api.github.com/users/cannatag/events{/privacy}","received_events_url":"https://api.github.com/users/cannatag/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T08:42:10Z","updated_at":"2016-11-04T08:42:10Z","body":"Tests needs a real ldap server to be run. They runs successfully in my lab. I had a cloud lab service that I used on travis but my subscription has expired. Travis should be disabled now. I must find a new ldap online server before reactivation it. \nIn the meanwhile if you have a local ldap server to test with you can change the configuration in the__init__.py to point to your server.\n\nLet me know if you need help.\n\nGiovanni\n\n> Il giorno 04 nov 2016, alle ore 09:34, Mikko Valkonen <notifications@github.com> ha scritto:\n> \n> When trying to run tests for the library on either python 3.5, or python 2.7 I'm getting the following error:\n> \n> (ldap3) emikkva@slartibartfast:~/code/ldap3 (master)\n> → ldap3/bin/nosetests -s test\n> E\n> ======================================================================\n> ERROR: Failure: Exception (testing location UNKNOWN-EDIR is not valid)\n> ----------------------------------------------------------------------\n> Traceback (most recent call last):\n>   File \"/home/emikkva/code/ldap3/ldap3/lib/python3.5/site-packages/nose/failure.py\", line 39, in runTest\n>     raise self.exc_val.with_traceback(self.tb)\n>   File \"/home/emikkva/code/ldap3/ldap3/lib/python3.5/site-packages/nose/loader.py\", line 418, in loadTestsFromName\n>     addr.filename, addr.module)\n>   File \"/home/emikkva/code/ldap3/ldap3/lib/python3.5/site-packages/nose/importer.py\", line 47, in importFromPath\n>     return self.importFromDir(dir_path, fqname)\n>   File \"/home/emikkva/code/ldap3/ldap3/lib/python3.5/site-packages/nose/importer.py\", line 94, in importFromDir\n>     mod = load_module(part_fqname, fh, filename, desc)\n>   File \"/usr/lib/python3.5/imp.py\", line 244, in load_module\n>     return load_package(name, filename)\n>   File \"/usr/lib/python3.5/imp.py\", line 216, in load_package\n>     return _load(spec)\n>   File \"<frozen importlib._bootstrap>\", line 693, in _load\n>   File \"<frozen importlib._bootstrap>\", line 673, in _load_unlocked\n>   File \"<frozen importlib._bootstrap_external>\", line 665, in exec_module\n>   File \"<frozen importlib._bootstrap>\", line 222, in _call_with_frames_removed\n>   File \"/home/emikkva/code/ldap3/test/__init__.py\", line 235, in <module>\n>     raise Exception('testing location ' + location + ' is not valid')\n> Exception: testing location UNKNOWN-EDIR is not valid\n> Also I'm seeing most of the tests fail in Travis. Any pointers?\n> \n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"cannatag"}}