#Help with testing a PR branch locally

1 messages · Page 1 of 1 (latest)

ivory swallow
#

Hi all, I have a PR for replacing org.json with kotlinx serialization. How do I test my changes locally? The app fails to communicate with homeassistant and times out with both local and external addresses.

scenic vapor
#

The app is exactly the same

#

so something is wrong in your setup 🙂

#

it works with any Home Assistant instance

ivory swallow
#

Could it be a limitation on the emulator?

scenic vapor
#

nope

#

you can check from the browser from the emulator

#

if you can reach out to your server

#

you can't use localhost from the emulator

ivory swallow
#

Right, let me do some more digging. Anyway other tests were passing so I created a PR. Should I mark it as draft until I find out what's wrong with my emulator?

scenic vapor
#

yep if you cannot test it it's better to put it in draft. I'll try to take a look to the PR tomorrow

#

(not testing but at the code)

ivory swallow
#

thanks mate, and thanks for the prompt reply