From e9093be680dd5dcf9e52786bc29cf123f0b1816e Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Mon, 14 Aug 2017 06:39:36 -0400 Subject: [PATCH] Start a branch for paying for package.json --- ...est_package_discovery.py => test_paying_for_package_json.py} | 2 +- www/on/npm/index.html.spt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/ttw/{test_package_discovery.py => test_paying_for_package_json.py} (96%) diff --git a/tests/ttw/test_package_discovery.py b/tests/ttw/test_paying_for_package_json.py similarity index 96% rename from tests/ttw/test_package_discovery.py rename to tests/ttw/test_paying_for_package_json.py index 9a43105112..9b0ae0b5eb 100644 --- a/tests/ttw/test_package_discovery.py +++ b/tests/ttw/test_paying_for_package_json.py @@ -8,7 +8,7 @@ class Tests(BrowserHarness): def assertDiscovery(self): instructions = self.css('.instructions').text - assert instructions == 'Paste a package.json to find packages to pay for:' + assert instructions == 'Paste your own package.json:' def test_anon_gets_discovery_page_by_default(self): self.visit('/on/npm/') diff --git a/www/on/npm/index.html.spt b/www/on/npm/index.html.spt index defb5191ae..f2613b7117 100644 --- a/www/on/npm/index.html.spt +++ b/www/on/npm/index.html.spt @@ -176,7 +176,7 @@ if request.method == 'POST':

- {{ _('Paste a package.json to find packages to pay for:') }} + {{ _('Paste your own package.json:') }}