AtlatestRepositorysigil-youtube
sigil-youtube / tree / testanalytics-test.sgl
1
;;; Tests for (youtube analytics) — analytics module2
;;;3
;;; Tests the analytics base URL constant. Query function tests4
;;; require HTTP mocking which is not available, so we test what we can.6
(import (sigil core)7
(sigil string)8
(sigil test)9
(youtube)10
(youtube analytics))12
;; ---------------------------------------------------------------13
;; Constants tests14
;; ---------------------------------------------------------------16
(test-group "analytics constants"18
(test "analytics base URL"19
(assert-equal "https://youtubeanalytics.googleapis.com/v2"20
youtube-analytics-base-url)))22
(run-tests)