diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-11-10 14:38:00 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-11-10 14:38:00 -0500 |
| commit | 01ec693d026c970d4aeea17ee6eafb163ca8513c (patch) | |
| tree | e0021f13fb608a57524cb46d5398f1f66adea537 /web | |
| parent | 114a4bddcef51acdcd38a88289df1a4dbb6beac8 (diff) | |
| download | x-01ec693d026c970d4aeea17ee6eafb163ca8513c.tar.xz x-01ec693d026c970d4aeea17ee6eafb163ca8513c.zip | |
web/fly/flydns: make tests optional
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'web')
| -rw-r--r-- | web/fly/flydns/flydns_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/fly/flydns/flydns_test.go b/web/fly/flydns/flydns_test.go index 9145ed4..17576ef 100644 --- a/web/fly/flydns/flydns_test.go +++ b/web/fly/flydns/flydns_test.go @@ -1,10 +1,15 @@ package flydns import ( + "os" "testing" ) func TestGetApps(t *testing.T) { + if os.Getenv("DO_FLY") == "" { + t.Skip() + } + // Call the function to be tested result, err := GetApps() |
