Skip to content

Commit

Permalink
method naming
Browse files Browse the repository at this point in the history
  • Loading branch information
meejah committed Apr 3, 2018
1 parent 9523ea3 commit 8bca2ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_controller.py
Expand Up @@ -1311,7 +1311,7 @@ def test_auth(self):
self.tor.create_authenticated_onion_endpoint(80, AuthBasic(['alice']))

def test_auth_fs(self):
self.tor.create_authenticated_filesystem_onion_endpoint(80, '/dev/null', AuthBasic(['alice']))
self.tor.create_filesystem_authenticated_onion_endpoint(80, '/dev/null', AuthBasic(['alice']))

@defer.inlineCallbacks
def test_happy_path(self):
Expand Down
2 changes: 1 addition & 1 deletion txtorcon/controller.py
Expand Up @@ -822,7 +822,7 @@ def create_filesystem_onion_endpoint(self, port, hs_dir, group_readable=False, v
auth=None,
)

def create_authenticated_filesystem_onion_endpoint(self, port, hs_dir, auth, group_readable=False, version=None):
def create_filesystem_authenticated_onion_endpoint(self, port, hs_dir, auth, group_readable=False, version=None):
"""
WARNING: API subject to change
Expand Down

0 comments on commit 8bca2ca

Please sign in to comment.