Angelo Gladding
lahacker.net

dlv5vbq7lzlthol5 4b942a3185b37d00

angelo@lahacker.net

South Pasadena, California, United States
currently feels like 53.82°F with good 38 air quality

Home Code

canopy

Repository

git clone https://lahacker.net/code/canopy.git

Files

Releases

No releases.

System

dirty

M canopy/__web__/orchards.py
M canopy/__web__/templates/orchards/orchard.html
M canopy/__web__/templates/orchards/snapshot.html
M canopy/util/__init__.py
M canopy/util/orchard.py

Local

Commits

Time to grove
created 15 hours ago by Angelo Gladding

License: Affero General Public License

cryptography, dnspython, feedparser, geocoder, geopy, gevent, html2text, nltk, numpy, opencv-contrib-python, opencv-python, phe, phonenumbers, pillow, qrcode, scrypt, sopel, stripe, tweepy, twilio, vobject, web, youtube-dl

Entry Points

term.apps

API

Quality

Tests

tests:test_setup

Line 107, 65.52615189552307

success

tests:test_home

Line 112, 3.011141538619995

success

tests:test_identification

Line 130, 23.32591986656189

failure

selenium.common.exceptions.TimeoutException: Message:

alice = <web.Browser object at 0x7f15000c5630>
bob = <web.Browser object at 0x7f15000bfa58>
carol = <web.Browser object at 0x7f15000bfd68>
dan = <web.Browser object at 0x7f15000c55f8>

    def test_identification(alice, bob, carol, dan):
        """"""
        # TODO submit form over AJAX and use loading invisibility
        passphrase_inputs = []
        for character in (alice, bob, carol, dan):
            character.go(character.hostname, "identification")
            character.wait(EC.url_to_be(f"https://{character.hostname}"
                                        f"/authentication"),
                           EC.presence_of_element_located((By.ID, "authenticate")))
            # assert "" in alice.title
            passphrase_input = character.cssel("input[name=passphrase]")
            passphrase_input.send_keys(f"{character.name.lower()}pass")
            passphrase_inputs.append(passphrase_input)
        shot("Passphrase Entered",
             "Alice signs in with her passphrase.",
             "Alice", "Bob", "Carol", "Dan")
        for passphrase_input in passphrase_inputs:
            passphrase_input.submit()
        for character in (alice, bob, carol, dan):
>           character.wait(EC.presence_of_element_located((By.ID, "signout")))

../understory/src/canopy/tests.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../understory/src/web/web/__init__.py:1192: in wait
    wait.until(condition)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="376eb3a9-164b-4aa1-8fb4-f87b2e5d27de")>
method = <selenium.webdriver.support.expected_conditions.presence_of_element_located object at 0x7f15000834e0>
message = ''

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message:

../understory/lib/python3.7/site-packages/selenium/webdriver/support/wait.py:80: TimeoutException

tests:test_create_note

Line 156, 52.38962244987488

success

5 tests ran in 144 seconds. Some tests are failing.