tvl-depot/users/grfn/bbbg/test/bbbg/meetup/import_test.clj
Griffin Smith 371a444eb7 feat(grfn/bbbg): Allow importing event attendees
Add support for importing the tsv that meetup exports into a list of
upserted attendees, and event-attendee joins.

Change-Id: I5f4ddc9fc63bcc6b0334bc3e1d3cbc4d5b99c21b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4570
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2021-12-24 17:43:28 +00:00

7 lines
276 B
Clojure

(ns bbbg.meetup.import-test
(:require [bbbg.meetup.import :as sut]
[clojure.test :refer :all]))
(deftest test-row-user-id->user-id
(is (= "246364067" (sut/row-user-id->user-id "user 246364067")))
(is (= "246364067" (sut/row-user-id->user-id "246364067"))))